engine: internals supporting the facade migration

UndoStack push_pre_executed, FolderAddChild-based true folder moves,
NodeViewDeleteCommand delete-then-reconnect support, event emission
points for the facade event bus, and related internal adjustments.
This commit is contained in:
2026-07-26 22:43:09 +08:00
parent e9f173916f
commit f95590e924
38 changed files with 302 additions and 746 deletions
+5 -5
View File
@@ -26,7 +26,7 @@
#include "common/define.h"
#include "node/project.h"
#include "node/project/serializer/mainwindowlayoutinfo.h"
#include "node/project/serializer/serializedlayoutinfo.h"
#include "typeserializer.h"
namespace olive
@@ -80,7 +80,7 @@ public:
SerializedKeyframes keyframes;
MainWindowLayoutInfo layout;
SerializedLayoutInfo layout;
QVector<Node *> nodes;
@@ -173,11 +173,11 @@ public:
return type_;
}
const MainWindowLayoutInfo &get_layout() const
const SerializedLayoutInfo &get_layout() const
{
return layout_;
}
void set_layout(const MainWindowLayoutInfo &layout)
void set_layout(const SerializedLayoutInfo &layout)
{
layout_ = layout;
}
@@ -226,7 +226,7 @@ public:
QString filename_;
MainWindowLayoutInfo layout_;
SerializedLayoutInfo layout_;
QVector<Node *> only_serialize_nodes_;