1 #ifndef SCAN_FLAG_H 2 #define SCAN_FLAG_H 3 4 5 #include "config.hh" 6 #include <QMainWindow> 7 #include <QTimer> 8 #include "ui_scanflag.h" 9 10 class ScanFlag : public QMainWindow 11 { 12 Q_OBJECT 13 14 public: 15 ScanFlag( QWidget *parent ); 16 17 ~ScanFlag(); 18 19 signals: 20 void showScanPopup (); 21 22 private: 23 Ui::ScanFlag ui; 24 QTimer hideTimer; 25 26 private slots: 27 void showScanFlag(); 28 void pushButtonClicked(); 29 void hideWindow(); 30 31 }; 32 33 #endif // SCAN_FLAG_H 34