mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
LibGUI: Start working on GTableView inline editing.
This is pretty shaky still, but the basic idea is that you subclass GModel and return true for editable indices. The table view also needs to have its editable flag set.
This commit is contained in:
parent
9ef06e2117
commit
0e6b273620
9 changed files with 95 additions and 6 deletions
|
@ -19,6 +19,7 @@ VBPropertiesWindow::VBPropertiesWindow()
|
|||
m_text_box->set_preferred_size({ 0, 21 });
|
||||
|
||||
m_table_view = new GTableView(widget);
|
||||
m_table_view->set_editable(true);
|
||||
}
|
||||
|
||||
VBPropertiesWindow::~VBPropertiesWindow()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue