-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathaddpropertydialog.h
More file actions
43 lines (30 loc) · 892 Bytes
/
addpropertydialog.h
File metadata and controls
43 lines (30 loc) · 892 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
43
#ifndef ADDPROPERTYDIALOG_H
#define ADDPROPERTYDIALOG_H
#include <QDialog>
#include <QMessageBox>
namespace Ui {
class AddPropertyDialog;
}
class AddPropertyDialog : public QDialog
{
Q_OBJECT
public:
explicit AddPropertyDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
~AddPropertyDialog();
static const int ADD_GETTER_THEN_SETTER = 0;
static const int ADD_SETTER_THEN_GETTER = 1;
static const int ADD_GETTER_ONLY = 2;
static const int ADD_SETTER_ONLY = 3;
void fillTypes(QStringList &list);
QString propName, propType, wrappedName, defaultValue;
bool isNeedToAddWrapped;
bool pressOk;
int addVariant;
private slots:
void on_pushButtonCancel_clicked();
void on_pushButtonAdd_clicked();
void on_lineEditPropName_textChanged(const QString &arg1);
private:
Ui::AddPropertyDialog *ui;
};
#endif // FORMADDPROPERTY_H