aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/guiSQLiteStudio/windows/tablewindow.h
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-12-17 07:07:47 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2021-12-17 07:07:47 -0500
commit558b1e35fd0777ac97763c1b28056ac984e583e7 (patch)
tree1eb2557119a117ea76535c89cd14a49e510b96bf /SQLiteStudio3/guiSQLiteStudio/windows/tablewindow.h
parentc22eb635c11fd45f9c30f911d70e1d79111a49ce (diff)
parent1fdc150116cad39aae5c5da407c3312b47a59e3a (diff)
Update upstream source from tag 'upstream/3.3.3+dfsg1'
Update to upstream version '3.3.3+dfsg1' with Debian dir 9a301fff4922aed2fec0c04c7d011947168c42f1
Diffstat (limited to 'SQLiteStudio3/guiSQLiteStudio/windows/tablewindow.h')
-rw-r--r--SQLiteStudio3/guiSQLiteStudio/windows/tablewindow.h7
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();