#pragma once #include #include #include #include "minibutton.h" #include "qminiblink.h" #include "sqlitehelper.h" #include "ui_applicationmanagerpage.h" class ApplicationManager; struct Title; struct Record2; class ApplicationManagerPage : public QWidget { Q_OBJECT signals: void onclick3(QString orig_name,QString op, QString func, QString url, QString path,QString initial_position=""); public: ApplicationManagerPage(int category, ApplicationManager *application_manager,QWidget *parent = nullptr); ~ApplicationManagerPage(); QMap rows; private: Ui::ApplicationManagerPageClass ui; QVBoxLayout* layout; QHBoxLayout* layout_top; QHBoxLayout* layout_bottom; QList connections; QMiniBlink* miniblink; QList buttons; QList softwares; QList button_structs; QHash checked; SQLiteHelper sqlite_helper; QGridLayout* layout_left; QTableWidget* table; ApplicationManager* application_manager; Title *title; int category; QWidget *parent; public slots: void refresh(); void onclicked(int state); };