#ifndef HOME_H #define HOME_H #include #include #include #include "constants.h" //#include "Windows.h" #define GWL_HWNDPARENT = -8 #define GCL_HICON = -14 #define GCL_MENUNAME = -8 const QString HOME_PAGE_URL = QString("http://47.100.37.243:9092/#/desktop/"); namespace Ui { class Home; } class Home : public QMainWindow { Q_OBJECT public: explicit Home(QWidget *parent = nullptr); ~Home(); void closeEvent(QCloseEvent *event); public slots: void captureScreen(); QString getProcessList(); void loadNavigate(QString sUrl); //static BOOL StaticEnumWindowsProc(HWND hwnd, LPARAM lParam); private: Ui::Home *ui; QTimer *myTimer; QWebEngineView* webWidget; }; #endif // HOME_H