29 , m_runtimeController(nullptr)
46 this, &SemanticZoomManager::updateRuntimeController);
51 this, &SemanticZoomManager::updateRuntimeController);
53 updateRuntimeController();
59 return m_runtimeController;
64 if (m_runtimeController == controller)
67 if (m_runtimeController) {
69 this, &SemanticZoomManager::handleActiveConfigurationChanged);
71 m_runtimeController = controller;
72 if (m_runtimeController) {
74 this, &SemanticZoomManager::handleActiveConfigurationChanged);
92void SemanticZoomManager::handleActiveConfigurationChanged(
const QSet<State *> &configuration)
100 auto state = qobject_cast<State *>(i);
105 const bool expand = configuration.contains(state);
106 state->setExpanded(expand);
113void SemanticZoomManager::updateRuntimeController()
void activeConfigurationChanged(const QSet< KDSME::State * > &configuration)
KDSME::StateMachineScene * scene
void setScene(StateMachineScene *scene)
void enabledChanged(bool enabled)
void sceneChanged(KDSME::StateMachineScene *controller)
void setRuntimeController(RuntimeController *controller)
RuntimeController * runtimeController() const
void setEnabled(bool enabled)
SemanticZoomManager(QObject *parent=nullptr)
void rootStateChanged(KDSME::State *state)
Q_INVOKABLE KDSME::StateMachine * machine() const
@ RecursiveWalk
Traverse the children of this item.