aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/guiSQLiteStudio/constraints/tablecheckpanel.h
blob: af9039e91277c9060e2fd736f6f3f90c2509b070 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef TABLECHECKPANEL_H
#define TABLECHECKPANEL_H

#include "constraintcheckpanel.h"
#include "constraintpanel.h"
#include "guiSQLiteStudio_global.h"
#include <QWidget>

class GUI_API_EXPORT TableCheckPanel : public ConstraintCheckPanel
{
        Q_OBJECT

    public:
        explicit TableCheckPanel(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 // TABLECHECKPANEL_H