#pragma once #include #include #include class ScanFlag: public QMainWindow { Q_OBJECT public: ScanFlag( QWidget * parent ); ~ScanFlag() = default; void showScanFlag(); void pushButtonClicked(); void hideWindow(); signals: void requestScanPopup(); private: QTimer hideTimer; QPushButton * pushButton; };