mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
ad8008c37b
After select a word, show a flag window, click the flag to show popup window.
34 lines
434 B
C++
34 lines
434 B
C++
#ifndef SCAN_FLAG_H
|
|
#define SCAN_FLAG_H
|
|
|
|
|
|
#include "config.hh"
|
|
#include <QMainWindow>
|
|
#include <QTimer>
|
|
#include "ui_scanflag.h"
|
|
|
|
class ScanFlag : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ScanFlag( QWidget *parent );
|
|
|
|
~ScanFlag();
|
|
|
|
signals:
|
|
void showScanPopup ();
|
|
|
|
private:
|
|
Ui::ScanFlag ui;
|
|
QTimer hideTimer;
|
|
|
|
private slots:
|
|
void showScanFlag();
|
|
void pushButtonClicked();
|
|
void hideWindow();
|
|
|
|
};
|
|
|
|
#endif // SCAN_FLAG_H
|