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