src/dialogs.h

changeset 332
3013acb1df53
parent 329
76db02dc7f60
child 333
905027940c51
equal deleted inserted replaced
331:bf301f81a0b6 332:3013acb1df53
107 void slot_tryConfigure (); 107 void slot_tryConfigure ();
108 void slot_exit (); 108 void slot_exit ();
109 }; 109 };
110 110
111 // ============================================================================= 111 // =============================================================================
112 class RotationPointDialog : public QDialog {
113 Q_OBJECT
114
115 public:
116 explicit RotationPointDialog (QWidget* parent = null, Qt::WindowFlags f = 0);
117
118 vertex customPos () const;
119 bool custom () const;
120 void setCustom (bool custom);
121 void setCustomPos (const vertex& pos);
122
123 private:
124 QDoubleSpinBox* dsb_customX, *dsb_customY, *dsb_customZ;
125 RadioBox* rb_rotpoint;
126 QGroupBox* gb_customPos;
127
128 private slots:
129 void radioBoxChanged ();
130 };
131
132 // =============================================================================
133 class OpenProgressDialog : public QDialog { 112 class OpenProgressDialog : public QDialog {
134 Q_OBJECT 113 Q_OBJECT
135 READ_PROPERTY (ulong, progress, setProgress) 114 READ_PROPERTY (ulong, progress, setProgress)
136 DECLARE_PROPERTY (ulong, numLines, setNumLines) 115 DECLARE_PROPERTY (ulong, numLines, setNumLines)
137 116

mercurial