Introduced global enum to keep track of custom roles we want to use in our datamodels.
This commit is contained in:
parent
ad4c6fd442
commit
a4054ed789
4 changed files with 15 additions and 2 deletions
|
|
@ -55,6 +55,7 @@ TablesPage::TablesPage(MainWindow *parent)
|
|||
|
||||
PropertyProxyModel* property_model = new PropertyProxyModel(this);
|
||||
property_model->setSourceModel(m_tablesModel);
|
||||
SetTableViewDefault(ui->tablePropertiesTable);
|
||||
ui->tablePropertiesTable->setModel(property_model);
|
||||
|
||||
connect(ui->tableListTable->selectionModel(), &QItemSelectionModel::currentChanged,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue