mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +00:00
LibGUI: Let AbstractViews be activated programmatically
This commit is contained in:
parent
de9dfc13b1
commit
bb23377b48
Notes:
sideshowbarker
2024-07-17 18:35:48 +09:00
Author: https://github.com/thankyouverycool
Commit: bb23377b48
Pull-request: https://github.com/SerenityOS/serenity/pull/12577
Reviewed-by: https://github.com/Xexxa ✅
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