mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:27:45 +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; }
|
ModelSelection const& selection() const { return m_selection; }
|
||||||
virtual void select_all() { }
|
virtual void select_all() { }
|
||||||
|
|
||||||
|
void activate(ModelIndex const&);
|
||||||
|
void activate_selected();
|
||||||
|
|
||||||
bool is_editable() const { return m_editable; }
|
bool is_editable() const { return m_editable; }
|
||||||
void set_editable(bool editable) { m_editable = editable; }
|
void set_editable(bool editable) { m_editable = editable; }
|
||||||
|
|
||||||
|
@ -160,8 +163,6 @@ protected:
|
||||||
|
|
||||||
virtual void did_scroll() override;
|
virtual void did_scroll() override;
|
||||||
void set_hovered_index(ModelIndex const&);
|
void set_hovered_index(ModelIndex const&);
|
||||||
void activate(ModelIndex const&);
|
|
||||||
void activate_selected();
|
|
||||||
void update_edit_widget_position();
|
void update_edit_widget_position();
|
||||||
|
|
||||||
void stop_highlighted_search_timer();
|
void stop_highlighted_search_timer();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue