17 */ |
17 */ |
18 |
18 |
19 #ifndef NEWPARTDIALOG_H |
19 #ifndef NEWPARTDIALOG_H |
20 #define NEWPARTDIALOG_H |
20 #define NEWPARTDIALOG_H |
21 |
21 |
22 #include <qdialog.h> |
22 #include <QDialog> |
23 #include <qlabel.h> |
23 #include "common.h" |
24 #include <qlineedit.h> |
24 |
25 #include <qcombobox.h> |
25 class QLabel; |
26 #include <qdialogbuttonbox.h> |
26 class QLineEdit; |
27 #include <qradiobutton.h> |
27 class RadioBox; |
28 #include <qbuttongroup.h> |
|
29 #include "gui.h" |
|
30 #include "radiobox.h" |
|
31 |
28 |
32 class NewPartDialog : public QDialog { |
29 class NewPartDialog : public QDialog { |
33 public: |
30 public: |
34 explicit NewPartDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
31 explicit NewPartDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
35 static void StaticDialog (); |
32 static void StaticDialog (); |
36 |
33 |
37 QLabel* lb_brickIcon, *lb_name, *lb_author, *lb_license, *lb_BFC; |
34 QLabel* lb_brickIcon, *lb_name, *lb_author, *lb_license, *lb_BFC; |
38 QLineEdit* le_name, *le_author; |
35 QLineEdit* le_name, *le_author; |
39 |
|
40 RadioBox* rb_license, *rb_BFC; |
36 RadioBox* rb_license, *rb_BFC; |
41 QDialogButtonBox* bbx_buttons; |
|
42 }; |
37 }; |
43 |
38 |
44 #endif // NEWPARTDIALOG_H |
39 #endif // NEWPARTDIALOG_H |