00001 #ifndef FEDLGDETECTREADER_H 00002 #define FEDLGDETECTREADER_H 00003 00004 #include <QDialog> 00005 #include <QMessageBox> 00006 #include "InterfaceConfig.h" 00007 #include "ui_FEDetectReaderDlg.h" 00008 #include "FESerialPortSettingsDlg.h" 00009 00010 #include "../../../../fedm-classlib/src/FedmIscCore.h" 00011 00012 class FEDetectReaderDlg: public QDialog 00013 { 00014 Q_OBJECT 00015 public: 00016 FEDetectReaderDlg(QWidget *parent = 0); 00017 ~FEDetectReaderDlg(); 00018 void setReader(FEDM_ISCReaderModule *reader); 00019 FEDM_ISCReader *getReader(); 00020 bool isReaderDetected(); 00021 00022 private slots: 00023 void onDetectButton(); 00024 void onMoreButton(); 00025 void onOkButton(); 00026 00027 private: 00028 FEDM_ISCReaderModule *m_reader; 00029 Ui::FEDetectReaderDlg ui; 00030 bool m_bReaderDetected; 00031 InterfaceConfig config; 00032 FESerialPortSettingsDlg serialPortSettingsDlg; 00033 }; 00034 00035 #endif