30 QVariantAnimation(parent),
31 statechartView(statechartView)
68 if (!state || !state->getStateClass())
75 if (!activeState->getStateClass() || !activeState->getStateClass()->getActiveSubstate())
79 activeState = activeState->getStateClass()->getActiveSubstate();
87 QPointer<StateItem> stateItem;
88 for (QGraphicsItem* item : items)
90 stateItem =
dynamic_cast<StateItem*
>(item);
91 if (stateItem && activeState == stateItem->getStateInstance())
104 if (
statechartView->getGraphicsView()->viewport()->rect().adjusted(50, 50, -50, -50).
118 setEasingCurve(QEasingCurve::InOutQuad);
145 currentActiveStateItem = NULL;
153 statechartView->getGraphicsView()->centerOn(
value.toPointF());