mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +00:00
LibGUI: Let AbstractViews be activated programmatically
This commit is contained in:
parent
de9dfc13b1
commit
bb23377b48
1 changed files with 3 additions and 2 deletions
|
@ -61,6 +61,9 @@ public:
|
|||
ModelSelection const& selection() const { return m_selection; }
|
||||
virtual void select_all() { }
|
||||
|
||||
void activate(ModelIndex const&);
|
||||
void activate_selected();
|
||||
|
||||
bool is_editable() const { return m_editable; }
|
||||
void set_editable(bool editable) { m_editable = editable; }
|
||||
|
||||
|
@ -160,8 +163,6 @@ protected:
|
|||
|
||||
virtual void did_scroll() override;
|
||||
void set_hovered_index(ModelIndex const&);
|
||||
void activate(ModelIndex const&);
|
||||
void activate_selected();
|
||||
void update_edit_widget_position();
|
||||
|
||||
void stop_highlighted_search_timer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue