#ifndef HAPPLICATION_H #define HAPPLICATION_H #include #include class HApplication : public QApplication { Q_OBJECT public: #ifdef Q_QDOC Application(int &argc, char **argv); #else HApplication(int &argc, char **argv, int flag = ApplicationFlags); #endif virtual ~HApplication(); /** * @brief Get the list of open windows * @return list of open windows */ QVector getAlreadyShowWindowList(); /** * @brief Processing window top display * @param wdg QWidget * @param event */ void handleWindowStaysOnTopHint(QWidget *wdg, QEvent *event); protected: bool notify(QObject *obj, QEvent *event) Q_DECL_OVERRIDE; private: //Store pop-up list QVector windowList; }; #endif // HAPPLICATION_H