OfficeAssistant_Win10/mainwindowlayout.h

41 lines
782 B
C
Raw Normal View History

2023-07-26 19:48:14 +08:00
//
// Created by HW on 2023/07/26.
//
#ifndef OFFICEASSISTANT_MAINWINDOWLAYOUT_H
#define OFFICEASSISTANT_MAINWINDOWLAYOUT_H
#include <QWidget>
#include <QVBoxLayout>
#include "navbar.h"
2023-07-27 13:44:54 +08:00
#include "mainscreen.h"
2023-07-26 19:48:14 +08:00
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindowLayout; }
QT_END_NAMESPACE
class MainWindowLayout : public QWidget {
Q_OBJECT
public:
explicit MainWindowLayout(QWidget *parent = nullptr);
~MainWindowLayout() override;
2023-07-27 13:44:54 +08:00
protected:
void resizeEvent(QResizeEvent *event) override;
//void paintEvent(QPaintEvent *event) override;
2023-07-26 19:48:14 +08:00
private:
Ui::MainWindowLayout *ui;
QVBoxLayout *layout;
QList<ButtonStruct *> list;
NavBar *navBar;
ButtonStruct *buttons;
2023-07-27 13:44:54 +08:00
MainScreen *mainScreen;
2023-07-26 19:48:14 +08:00
};
#endif //OFFICEASSISTANT_MAINWINDOWLAYOUT_H