重命名关键类型

This commit is contained in:
玉宇清音 2023-03-11 12:51:30 +08:00
parent a6a2a70987
commit 49f7d6121c
2 changed files with 8 additions and 12 deletions

View File

@ -32,26 +32,22 @@ using namespace Tools;
using namespace CommandList; using namespace CommandList;
MainWindow::MainWindow(QWidget *parent) MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent), : QMainWindow(parent), app_core(new AppCore(this, true, this)),
app_core(new AppCore(this, true, this)),
sync_kernel(new StatusSyncCore(this)), sync_kernel(new StatusSyncCore(this)),
horizontal_split(new QSplitter(Qt::Horizontal, this)), horizontal_split(new QSplitter(Qt::Horizontal, this)),
vertical_split(new QSplitter(Qt::Vertical, this)), vertical_split(new QSplitter(Qt::Vertical, this)),
left_funcs(new QTabWidget(this)), left_funcs(new QTabWidget(this)), right_funcs(new QTabWidget(this)),
right_funcs(new QTabWidget(this)), center_funcs(new QTabWidget(this)), bottom_funcs(new QTabWidget(this)),
center_funcs(new QTabWidget(this)),
bottom_funcs(new QTabWidget(this)),
project_manager(new XMLProjectManager(this)), project_manager(new XMLProjectManager(this)),
welcome_list(new QListView(this)), welcome_list(new QListView(this)),
project_present(new ProjectPresent(app_core, this)), project_present(new ProjectPresent(app_core, this)),
docs_container(new DocumentsManager(app_core, project_manager, this)), docs_container(new DocumentsManager(app_core, project_manager, this)),
chains_view(new StorychainsPresent(app_core, this)), chains_view(new StorychainsPresent(app_core->disp_core, this)),
units_view(new StoryunitsPresent(app_core, this)), units_view(new StoryunitsPresent(app_core->disp_core, this)),
errors_present(new MessagePresent(app_core->getMakeCore(), this)), errors_present(new MessagePresent(app_core->getMakeCore(), this)),
boards_view(new StoryBoardsPresent(app_core, this)), boards_view(new StoryBoardsPresent(app_core, this)),
concept_view(new StoryConceptsPresent(app_core, this)), concept_view(new StoryconceptsPresent(app_core, this)),
fragments_order(new FragmentsOrderView(app_core, this)) fragments_order(new FragmentsOrderView(app_core, this)) {
{
QApplication::instance()->installEventFilter(this); QApplication::instance()->installEventFilter(this);
this->app_core->setCurrentProject(project_manager); this->app_core->setCurrentProject(project_manager);
this->app_core->disp_core->registerMember(docs_container); this->app_core->disp_core->registerMember(docs_container);

View File

@ -50,7 +50,7 @@ private:
Components::StoryunitsPresent *const units_view; Components::StoryunitsPresent *const units_view;
Components::MessagePresent *const errors_present; Components::MessagePresent *const errors_present;
Components::StoryBoardsPresent *const boards_view; Components::StoryBoardsPresent *const boards_view;
Components::StoryConceptsPresent *const concept_view; Components::StoryconceptsPresent *const concept_view;
Components::FragmentsOrderView *const fragments_order; Components::FragmentsOrderView *const fragments_order;
// 内部逻辑 =========================================== // 内部逻辑 ===========================================