1
Fork 0
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:
thankyouverycool 2022-02-16 10:13:16 -05:00 committed by Tim Flynn
parent de9dfc13b1
commit bb23377b48

View file

@ -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();