All the detail tabs on the TablePage now update when the sort order

of the table list changes.
This commit is contained in:
eelke 2018-10-21 13:47:38 +02:00
parent d4d8316917
commit 1ae9a1151a
5 changed files with 61 additions and 26 deletions

View file

@ -18,6 +18,7 @@ class IndexModel;
class MainWindow;
class PropertiesPage;
class TriggerPage;
class PgClass;
class TablesPage : public QWidget
{
@ -44,9 +45,12 @@ private:
void retranslateUi(bool all = true);
QWidget* addDetailTab(QWidget *contents);
void selectedTableChanged(const PgClass & table);
private slots:
void tableListTable_currentRowChanged(const QModelIndex &current, const QModelIndex &previous);
void tableListTable_layoutChanged(const QList<QPersistentModelIndex> &parents, QAbstractItemModel::LayoutChangeHint hint);
// void constraintsTable_currentRowChanged(const QModelIndex &current, const QModelIndex &previous);
void constraintsTable_selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
void constraintsTable_modelReset();