aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/guiSQLiteStudio/constraints/columncheckpanel.h
blob: 8c23770c687f2799db369c7ef02045283c0c9a7a (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 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