mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:38:11 +00:00
LibGUI: Make descendants of AbstractView define their own select_all() (#1201)
AbstractView does not know which column it's displaying which makes it impossible to implement the select_all functionality up there. Now descendants override the pure virtual select_all method and implement it themselves.
This commit is contained in:
parent
6824cb17a6
commit
8e1645423f
10 changed files with 54 additions and 14 deletions
|
@ -70,6 +70,7 @@ public:
|
|||
virtual ModelIndex index_at_event_position(const Gfx::Point&, bool& is_toggle) const;
|
||||
virtual ModelIndex index_at_event_position(const Gfx::Point&) const override;
|
||||
|
||||
virtual void select_all() override;
|
||||
protected:
|
||||
virtual ~AbstractTableView() override;
|
||||
AbstractTableView();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue