-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathColumnDialog.h
More file actions
42 lines (32 loc) · 803 Bytes
/
ColumnDialog.h
File metadata and controls
42 lines (32 loc) · 803 Bytes
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef COLUMNDIALOG_H
#define COLUMNDIALOG_H
#include <QDialog>
#include <QMap>
namespace Ui {
class ColumnDialog;
}
class ColumnDialog : public QDialog
{
Q_OBJECT
public:
explicit ColumnDialog(QWidget *parent = 0);
~ColumnDialog();
void setDataTypes(QMap<QString, int> dataTypes);
void setName(QString name);
void setType(QString type);
void setLength(int length);
void setNullable(bool nullable);
void setDefaultValue(QString defaultValue);
void setValues(QString values);
QString getName();
QString getType();
int getLength();
bool getNullable();
QString getDefault();
QString getValues();
private slots:
void on_typeComboBox_currentIndexChanged(int index);
private:
Ui::ColumnDialog *ui;
};
#endif // COLUMNDIALOG_H