goldendict-ng/scanflag.hh
sunwxg ad8008c37b Add scan popup flag
After select a word, show a flag window, click the flag to show
popup window.
2017-06-05 21:15:38 +08:00

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