完成获取应用列表、获取内置app列表
This commit is contained in:
@ -1,44 +1,44 @@
|
||||
|
||||
//
|
||||
// Created by HW on 2023/07/26.
|
||||
//
|
||||
|
||||
#ifndef OFFICEASSISTANT_MAINWINDOWLAYOUT_H
|
||||
#define OFFICEASSISTANT_MAINWINDOWLAYOUT_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QVBoxLayout>
|
||||
#include "navbar.h"
|
||||
#include "mainscreen.h"
|
||||
#include "netio.h"
|
||||
class NavBar;
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui { class MainWindowLayout; }
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class MainWindowLayout : public QWidget {
|
||||
Q_OBJECT
|
||||
signals:
|
||||
void clickButton1(QString text, QString url);
|
||||
public:
|
||||
explicit MainWindowLayout(QWidget *parent = nullptr);
|
||||
|
||||
~MainWindowLayout() override;
|
||||
public slots:
|
||||
void clickButton(QString text, QString url);
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent *event) override;
|
||||
//void paintEvent(QPaintEvent *event) override;
|
||||
|
||||
private:
|
||||
Ui::MainWindowLayout *ui;
|
||||
QVBoxLayout *layout;
|
||||
//QList<ButtonStruct *> list;
|
||||
NavBar *navBar;
|
||||
ButtonStruct *buttons;
|
||||
MainScreen *mainScreen;
|
||||
ConfigResponse *configResponse;
|
||||
};
|
||||
|
||||
|
||||
#endif //OFFICEASSISTANT_MAINWINDOWLAYOUT_H
|
||||
|
||||
//
|
||||
// Created by HW on 2023/07/26.
|
||||
//
|
||||
|
||||
#ifndef OFFICEASSISTANT_MAINWINDOWLAYOUT_H
|
||||
#define OFFICEASSISTANT_MAINWINDOWLAYOUT_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QVBoxLayout>
|
||||
#include "navbar.h"
|
||||
#include "mainscreen.h"
|
||||
#include "netio.h"
|
||||
class NavBar;
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui { class MainWindowLayout; }
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class MainWindowLayout : public QWidget {
|
||||
Q_OBJECT
|
||||
signals:
|
||||
void clickButton1(QString op,QString url);
|
||||
public:
|
||||
explicit MainWindowLayout(QWidget *parent = nullptr);
|
||||
|
||||
~MainWindowLayout() override;
|
||||
public slots:
|
||||
void clickButton(QString op, QString func, QString url, QString path, QString initial_position);
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent *event) override;
|
||||
//void paintEvent(QPaintEvent *event) override;
|
||||
|
||||
private:
|
||||
Ui::MainWindowLayout *ui;
|
||||
QVBoxLayout *layout;
|
||||
//QList<ButtonStruct *> list;
|
||||
NavBar *navBar;
|
||||
ButtonStruct *buttons;
|
||||
MainScreen *mainScreen;
|
||||
ConfigResponse *configResponse;
|
||||
};
|
||||
|
||||
|
||||
#endif //OFFICEASSISTANT_MAINWINDOWLAYOUT_H
|
||||
|
Reference in New Issue
Block a user