COmpletely remove propertiespage for now.
This commit is contained in:
parent
badd46ea8f
commit
04e69bbaa4
2 changed files with 10 additions and 10 deletions
|
|
@ -48,9 +48,9 @@ CatalogTablesPage::CatalogTablesPage(QWidget *parent)
|
|||
m_detailsTabs->addTab(m_indexPage, "");
|
||||
|
||||
// - Properties page
|
||||
// m_propertiesPage = new PropertiesPage(this);
|
||||
// m_propertiesPage = new PropertiesPage(this);
|
||||
// m_propertiesPage->setSourceModel(m_tablesTableView.dataModel());
|
||||
// m_detailsTabs->addTab(m_propertiesPage, "");
|
||||
// m_detailsTabs->addTab(m_propertiesPage, "");
|
||||
|
||||
// - Trigger page
|
||||
m_triggerPage = new TriggerPage(this);
|
||||
|
|
@ -69,12 +69,12 @@ CatalogTablesPage::CatalogTablesPage(QWidget *parent)
|
|||
// Signals
|
||||
connect(tv->selectionModel(), &QItemSelectionModel::currentRowChanged, this,
|
||||
&CatalogTablesPage::tableListTable_currentRowChanged);
|
||||
connect(m_tablesTableView.dataModel(), &TablesTableModel::modelReset,
|
||||
[this] ()
|
||||
{
|
||||
selectedTableChanged({});
|
||||
m_propertiesPage->setActiveRow({});
|
||||
});
|
||||
// connect(m_tablesTableView.dataModel(), &TablesTableModel::modelReset,
|
||||
// [this] ()
|
||||
// {
|
||||
// selectedTableChanged({});
|
||||
// m_propertiesPage->setActiveRow({});
|
||||
// });
|
||||
|
||||
connect(m_tablesTableView.dataModel(), &QAbstractItemModel::layoutChanged,
|
||||
this, &CatalogTablesPage::tableListTable_layoutChanged);
|
||||
|
|
@ -92,7 +92,7 @@ void CatalogTablesPage::retranslateUi(bool /*all*/)
|
|||
set_tabtext(m_columnsPage, QApplication::translate("TablesPage", "Columns", nullptr));
|
||||
set_tabtext(m_constraintPage, QApplication::translate("TablesPage", "Constraints", nullptr));
|
||||
set_tabtext(m_indexPage, QApplication::translate("TablesPage", "Indexes", nullptr));
|
||||
set_tabtext(m_propertiesPage, QApplication::translate("TablesPage", "Properties", nullptr));
|
||||
// set_tabtext(m_propertiesPage, QApplication::translate("TablesPage", "Properties", nullptr));
|
||||
set_tabtext(m_triggerPage, QApplication::translate("TablesPage", "Triggers", nullptr));
|
||||
set_tabtext(m_dependentsPage, QApplication::translate("TablesPage", "Dependants", nullptr));
|
||||
set_tabtext(m_tableSql, QApplication::translate("TablesPage", "SQL", nullptr));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue