mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:57:35 +00:00
Spreadsheet: Get rid of the "row numbers" column
Let's use TableView's row headers for this instead. :^)
This commit is contained in:
parent
447b65bf7b
commit
695b283b8c
3 changed files with 10 additions and 26 deletions
|
@ -37,7 +37,7 @@ public:
|
|||
virtual ~SheetModel() override;
|
||||
|
||||
virtual int row_count(const GUI::ModelIndex& = GUI::ModelIndex()) const override { return m_sheet->row_count(); }
|
||||
virtual int column_count(const GUI::ModelIndex& = GUI::ModelIndex()) const override { return m_sheet->column_count() + 1; }
|
||||
virtual int column_count(const GUI::ModelIndex& = GUI::ModelIndex()) const override { return m_sheet->column_count(); }
|
||||
virtual String column_name(int) const override;
|
||||
virtual GUI::Variant data(const GUI::ModelIndex&, GUI::ModelRole) const override;
|
||||
virtual bool is_editable(const GUI::ModelIndex&) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue