mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00
GTableView: Allow changing sort options by clicking column headers.
Also paint the sorted column slightly differently to indicate what's up.
This commit is contained in:
parent
7d1142c7d9
commit
3681a402ba
2 changed files with 40 additions and 0 deletions
|
@ -40,6 +40,8 @@ private:
|
|||
void update_scrollbar_ranges();
|
||||
int item_count() const;
|
||||
Rect row_rect(int item_index) const;
|
||||
Rect header_rect(int) const;
|
||||
int column_width(int) const;
|
||||
|
||||
GScrollBar* m_vertical_scrollbar { nullptr };
|
||||
GScrollBar* m_horizontal_scrollbar { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue