diff options
Diffstat (limited to 'LibGUI/GTableView.h')
-rw-r--r-- | LibGUI/GTableView.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/LibGUI/GTableView.h b/LibGUI/GTableView.h index ea75381056..3900e164a5 100644 --- a/LibGUI/GTableView.h +++ b/LibGUI/GTableView.h @@ -30,6 +30,9 @@ public: bool is_column_hidden(int) const; void set_column_hidden(int, bool); + void begin_editing(const GModelIndex&); + void stop_editing(); + virtual const char* class_name() const override { return "GTableView"; } private: @@ -45,6 +48,8 @@ private: Rect header_rect(int) const; int column_width(int) const; void update_content_size(); + Rect cell_content_rect(const GModelIndex&) const; + Rect cell_content_rect(int row, int column) const; Vector<bool> m_column_visibility; int m_horizontal_padding { 5 }; |