diff options
| author | 2021-12-17 07:06:30 -0500 | |
|---|---|---|
| committer | 2021-12-17 07:06:30 -0500 | |
| commit | 1fdc150116cad39aae5c5da407c3312b47a59e3a (patch) | |
| tree | 123c79a4d7ad2d45781ba03ce939f7539fb428d8 /SQLiteStudio3/guiSQLiteStudio/windows/tablewindow.h | |
| parent | feda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 (diff) | |
New upstream version 3.3.3+dfsg1.upstream/3.3.3+dfsg1
Diffstat (limited to 'SQLiteStudio3/guiSQLiteStudio/windows/tablewindow.h')
| -rw-r--r-- | SQLiteStudio3/guiSQLiteStudio/windows/tablewindow.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/SQLiteStudio3/guiSQLiteStudio/windows/tablewindow.h b/SQLiteStudio3/guiSQLiteStudio/windows/tablewindow.h index f44af4f..fb4d67d 100644 --- a/SQLiteStudio3/guiSQLiteStudio/windows/tablewindow.h +++ b/SQLiteStudio3/guiSQLiteStudio/windows/tablewindow.h @@ -23,6 +23,7 @@ class WidgetCover; class SqliteSyntaxHighlighter; class CenteredIconItemDelegate; class ConstraintTabModel; +class DbComboBox; namespace Ui { class TableWindow; @@ -76,6 +77,8 @@ class GUI_API_EXPORT TableWindow : public MdiChild ADD_TABLE_CHECK, MOVE_CONSTRAINT_UP, MOVE_CONSTRAINT_DOWN, + ADD_INDEX_STRUCT, + ADD_TRIGGER_STRUCT, EXPORT, IMPORT, POPULATE, @@ -138,6 +141,7 @@ class GUI_API_EXPORT TableWindow : public MdiChild void init(); void newTable(); void parseDdl(); + void createDbCombo(); void initDbAndTable(); void setupCoverWidget(); void createStructureActions(); @@ -162,6 +166,7 @@ class GUI_API_EXPORT TableWindow : public MdiChild void resizeStructureViewColumns(); int getDataTabIdx() const; int getStructureTabIdx() const; + bool hasAnyPkDefined() const; int newTableWindowNum = 1; @@ -183,6 +188,7 @@ class GUI_API_EXPORT TableWindow : public MdiChild bool modifyingThisTable = false; CenteredIconItemDelegate* constraintColumnsDelegate = nullptr; bool tabsMoving = false; + DbComboBox* dbCombo = nullptr; private slots: void executionSuccessful(); @@ -238,6 +244,7 @@ class GUI_API_EXPORT TableWindow : public MdiChild void prevTab(); void updateTabsOrder(); void updateFont(); + void dbChanged(); public slots: void updateIndexes(); |
