61 void slot_dimensionsChanged (); |
63 void slot_dimensionsChanged (); |
62 void fillDefaults (int newcam); |
64 void fillDefaults (int newcam); |
63 }; |
65 }; |
64 |
66 |
65 class ReplaceCoordsDialog : public QDialog { |
67 class ReplaceCoordsDialog : public QDialog { |
|
68 Q_OBJECT |
|
69 |
66 public: |
70 public: |
67 explicit ReplaceCoordsDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
71 explicit ReplaceCoordsDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
68 |
72 |
69 vector< int > axes () const; |
73 vector<int> axes () const; |
70 double searchValue () const; |
74 double searchValue () const; |
71 double replacementValue () const; |
75 double replacementValue () const; |
|
76 bool any () const; |
|
77 bool rel () const; |
72 |
78 |
73 private: |
79 private: |
74 CheckBoxGroup* cbg_axes; |
80 CheckBoxGroup* cbg_axes; |
75 QLabel* lb_search, *lb_replacement; |
81 QLabel* lb_search, *lb_replacement; |
76 QDoubleSpinBox* dsb_search, *dsb_replacement; |
82 QDoubleSpinBox* dsb_search, *dsb_replacement; |
|
83 QCheckBox* cb_any, *cb_rel; |
|
84 |
|
85 private slots: |
|
86 void anyChanged (int state); |
77 }; |
87 }; |
78 |
88 |
79 // ============================================================================= |
89 // ============================================================================= |
80 // SetContentsDialog |
90 // SetContentsDialog |
81 // |
91 // |