#ifndef MAINWINDOW_H #define MAINWINDOW_H #include #include #include #include #include #include #include #include "SensitiveCore.h" #include "messagepresent.h" #include "storychainspresent.h" #include "projectview.h" class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *parent = nullptr); ~MainWindow(); private: QSplitter *const horizontal_split; QSplitter *const vertical_split; QTabWidget *const left_funcs; QTabWidget *const right_funcs; QTabWidget *const center_funcs; QTabWidget *const bottom_funcs; Project::ProjectManager *const project_manager; Parse::Result::ParseCore *const parse_core; MakeTools::StoryTool *const make_tool; QListView *const project_list; Components::ProjectView *const project_view; Components::StoryChainsPresent *const chains_view; Components::MessagePresent *const errors_present; MakeTools::SensitiveCore *const framework; // 内部逻辑 =========================================== void build_internal(bool all_from_disk = false); // QWidget interface protected: virtual void closeEvent(QCloseEvent *event) override; }; #endif // MAINWINDOW_H