37 lines
793 B
C++
37 lines
793 B
C++
#ifndef PST_MAINWINDOW_H
|
|
#define PST_MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
|
|
#include "ElaWindow.h"
|
|
|
|
class ElaContentDialog;
|
|
namespace pst
|
|
{
|
|
class CenterWidget;
|
|
class MainWindow : public ElaWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWindow(QWidget* parent = nullptr);
|
|
~MainWindow();
|
|
|
|
private slots:
|
|
void slot_toolBtnClick();
|
|
|
|
private:
|
|
void initWindow();
|
|
void initToolBar();
|
|
void initStatusBar();
|
|
/// @brief 初始化中心视图,左侧工程树及右侧的结果查看视图
|
|
void initContentWidget();
|
|
/// @brief 软件关闭弹窗
|
|
ElaContentDialog* _closeDialog{ nullptr };
|
|
/// @brief 中心视图
|
|
CenterWidget* m_centerWidget{ nullptr };
|
|
};
|
|
}
|
|
|
|
#endif // PST_MAINWINDOW1_H
|