54 static void setSerializerController(std::unique_ptr<Serializer::SerializerController> ui_serializer_controller);
83 static std::shared_ptr<Controller::ImageControllerBase> m_controller_main_scene;
90 static std::unique_ptr<Serializer::SerializerController> m_serializer_controller;
96 [[nodiscard]]
static bool createControllerMainScene();
103 [[nodiscard]]
static bool registerCoreToQml(QQmlContext* context);
Central manager for QML context setup.
static void setSerializerController(std::unique_ptr< Serializer::SerializerController > ui_serializer_controller)
Sets the SerializerController instance to be registered with the QML context. This must be called bef...
static std::shared_ptr< Controller::ImageControllerBase > getControllerMainScene()
Getter for the main ImageControllerBase instance.
static bool registerSerializerToQml(QQmlContext *context)
Registers the SerializerController (if set) to the QML context.
static Serializer::SerializerController * getSerializerController()
Getter for the UISerializerManager instance.
static bool setupContext(QQmlContext *context)
Setup complete QML context with all objects.