3 #include "ScanModeDialog.h"
7 ModeType
ScanModeDialog::type(None
);
9 ScanModeDialog::ScanModeDialog(QWidget
*parent
)
14 D_OUTPUT("ScanModeDialog()")
17 ScanModeDialog::~ScanModeDialog()
19 D_OUTPUT("~ScanModeDialog()")
23 ScanModeDialog::getMode(QWidget
*parent
) {
25 ScanModeDialog
*dialog
= new ScanModeDialog(parent
);
26 dialog
->setModal(true);
27 connect(dialog
->okButton
,SIGNAL(clicked()),
29 connect(dialog
->cancelButton
,SIGNAL(clicked()),
30 dialog
,SLOT(deleteLater()));
35 void ScanModeDialog::ok() {
36 if(normalButton
->isChecked())