18 |
18 |
19 #ifndef ZZ_ADDOBJECTDIALOG_H |
19 #ifndef ZZ_ADDOBJECTDIALOG_H |
20 #define ZZ_ADDOBJECTDIALOG_H |
20 #define ZZ_ADDOBJECTDIALOG_H |
21 |
21 |
22 #include "gui.h" |
22 #include "gui.h" |
|
23 #include "buttonbox.h" |
23 #include <qdialog.h> |
24 #include <qdialog.h> |
24 #include <qlineedit.h> |
25 #include <qlineedit.h> |
25 #include <qdialogbuttonbox.h> |
26 #include <qdialogbuttonbox.h> |
|
27 #include <qcheckbox.h> |
|
28 #include <qspinbox.h> |
26 #include <qlabel.h> |
29 #include <qlabel.h> |
27 #include <qspinbox.h> |
30 #include <qradiobutton.h> |
28 #include <qpushbutton.h> |
|
29 #include <qcombobox.h> |
|
30 |
31 |
31 class AddObjectDialog : public QDialog { |
32 class AddObjectDialog : public QDialog { |
32 Q_OBJECT |
33 Q_OBJECT |
33 |
34 |
34 public: |
35 public: |
45 |
46 |
46 // Color selection dialog button |
47 // Color selection dialog button |
47 QPushButton* qColorButton; |
48 QPushButton* qColorButton; |
48 |
49 |
49 // Radial stuff |
50 // Radial stuff |
50 QComboBox* qRadialType, *qRadialResolution; |
51 QCheckBox* cb_radHiRes; |
|
52 ButtonBox<QRadioButton>* bb_radType; |
51 QSpinBox* sb_radSegments, *sb_radRingNum; |
53 QSpinBox* sb_radSegments, *sb_radRingNum; |
52 QLabel* lb_radType, *lb_radResolution, *lb_radSegments, |
54 QLabel* lb_radType, *lb_radResolution, *lb_radSegments, |
53 *lb_radRingNum; |
55 *lb_radRingNum; |
54 |
56 |
55 QDialogButtonBox* bbx_buttons; |
57 QDialogButtonBox* bbx_buttons; |