diff options
Diffstat (limited to 'SQLiteStudio3/guiSQLiteStudio/constraints/columncheckpanel.h')
| -rw-r--r-- | SQLiteStudio3/guiSQLiteStudio/constraints/columncheckpanel.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/SQLiteStudio3/guiSQLiteStudio/constraints/columncheckpanel.h b/SQLiteStudio3/guiSQLiteStudio/constraints/columncheckpanel.h new file mode 100644 index 0000000..8c23770 --- /dev/null +++ b/SQLiteStudio3/guiSQLiteStudio/constraints/columncheckpanel.h @@ -0,0 +1,27 @@ +#ifndef COLUMNCHECKPANEL_H +#define COLUMNCHECKPANEL_H + +#include "constraintcheckpanel.h" +#include "constraintpanel.h" +#include "guiSQLiteStudio_global.h" +#include <QWidget> + +class GUI_API_EXPORT ColumnCheckPanel : public ConstraintCheckPanel +{ + Q_OBJECT + + public: + explicit ColumnCheckPanel(QWidget *parent = 0); + + protected: + SqliteExpr* readExpr(); + QString readName(); + void storeType(); + SqliteConflictAlgo readConflictAlgo(); + void storeExpr(SqliteExpr* expr); + void storeName(const QString& name); + void storeConflictAlgo(SqliteConflictAlgo algo); + SqliteCreateTable* getCreateTable(); +}; + +#endif // COLUMNCHECKPANEL_H |
