2024-11-07 03:53:04 +00:00
|
|
|
#pragma once
|
2017-06-05 13:15:38 +00:00
|
|
|
|
|
|
|
#include <QMainWindow>
|
2023-02-22 00:45:09 +00:00
|
|
|
#include <QPushButton>
|
2017-06-05 13:15:38 +00:00
|
|
|
#include <QTimer>
|
|
|
|
|
|
|
|
class ScanFlag: public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
ScanFlag( QWidget * parent );
|
|
|
|
|
2023-02-22 00:45:09 +00:00
|
|
|
~ScanFlag() = default;
|
2017-06-05 13:15:38 +00:00
|
|
|
|
2022-11-20 06:19:27 +00:00
|
|
|
void showScanFlag();
|
|
|
|
void pushButtonClicked();
|
|
|
|
void hideWindow();
|
|
|
|
|
2017-06-05 13:15:38 +00:00
|
|
|
signals:
|
2022-11-20 06:19:27 +00:00
|
|
|
void requestScanPopup();
|
2017-06-05 13:15:38 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
QTimer hideTimer;
|
2023-02-22 00:45:09 +00:00
|
|
|
QPushButton * pushButton;
|
2017-06-05 13:15:38 +00:00
|
|
|
};
|