src/dialogs.cpp

changeset 202
a027f6fc6141
parent 200
5583af82087e
child 211
8d35e631bef3
equal deleted inserted replaced
201:4d620d819f4f 202:a027f6fc6141
21 #include <QSpinBox> 21 #include <QSpinBox>
22 #include <QDialogButtonBox> 22 #include <QDialogButtonBox>
23 #include <QFileDialog> 23 #include <QFileDialog>
24 #include <QLabel> 24 #include <QLabel>
25 #include <QPushButton> 25 #include <QPushButton>
26 #include <QBoxLayout>
26 27
27 #include "dialogs.h" 28 #include "dialogs.h"
28 #include "radiobox.h" 29 #include "widgets.h"
29 #include "gui.h" 30 #include "gui.h"
30 #include "gldraw.h" 31 #include "gldraw.h"
31 #include "docs.h" 32 #include "docs.h"
32 #include "checkboxgroup.h"
33 #include "file.h" 33 #include "file.h"
34 #include "dialogs.h" 34 #include "dialogs.h"
35 35
36 extern_cfg (str, io_ldpath); 36 extern_cfg (str, io_ldpath);
37 37
174 layout->addLayout (valueLayout); 174 layout->addLayout (valueLayout);
175 layout->addWidget (makeButtonBox (*this)); 175 layout->addWidget (makeButtonBox (*this));
176 setLayout (layout); 176 setLayout (layout);
177 } 177 }
178 178
179 double ReplaceCoordsDialog::searchValue() const { 179 double ReplaceCoordsDialog::searchValue () const {
180 return dsb_search->value (); 180 return dsb_search->value ();
181 } 181 }
182 182
183 double ReplaceCoordsDialog::replacementValue() const { 183 double ReplaceCoordsDialog::replacementValue () const {
184 return dsb_replacement->value (); 184 return dsb_replacement->value ();
185 } 185 }
186 186
187 vector<Axis> ReplaceCoordsDialog::axes() const { 187 vector<int> ReplaceCoordsDialog::axes () const {
188 return cbg_axes->checkedValues (); 188 return cbg_axes->checkedValues ();
189 } 189 }
190 190
191 // ============================================================================= 191 // =============================================================================
192 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 192 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

mercurial