src/dialogs.h

changeset 202
a027f6fc6141
parent 200
5583af82087e
child 211
8d35e631bef3
equal deleted inserted replaced
201:4d620d819f4f 202:a027f6fc6141
8 class QDoubleSpinBox; 8 class QDoubleSpinBox;
9 class QPushButton; 9 class QPushButton;
10 class QLineEdit; 10 class QLineEdit;
11 class QSpinBox; 11 class QSpinBox;
12 class RadioBox; 12 class RadioBox;
13 template<class T> class CheckBoxGroup; 13 class CheckBoxGroup;
14 class QLabel; 14 class QLabel;
15 class QAbstractButton; 15 class QAbstractButton;
16 16
17 class OverlayDialog : public QDialog { 17 class OverlayDialog : public QDialog {
18 Q_OBJECT 18 Q_OBJECT
44 44
45 class ReplaceCoordsDialog : public QDialog { 45 class ReplaceCoordsDialog : public QDialog {
46 public: 46 public:
47 explicit ReplaceCoordsDialog (QWidget* parent = null, Qt::WindowFlags f = 0); 47 explicit ReplaceCoordsDialog (QWidget* parent = null, Qt::WindowFlags f = 0);
48 48
49 vector<Axis> axes () const; 49 std::vector< int > axes () const;
50 double searchValue () const; 50 double searchValue () const;
51 double replacementValue () const; 51 double replacementValue () const;
52 52
53 private: 53 private:
54 CheckBoxGroup<Axis>* cbg_axes; 54 CheckBoxGroup* cbg_axes;
55 QLabel* lb_search, *lb_replacement; 55 QLabel* lb_search, *lb_replacement;
56 QDoubleSpinBox* dsb_search, *dsb_replacement; 56 QDoubleSpinBox* dsb_search, *dsb_replacement;
57 }; 57 };
58 58
59 // ============================================================================= 59 // =============================================================================

mercurial