forked from qt-creator/qt-creator
QmlJSDebugger: Separated animation speed and paused state
This separates animation speed and paused state in the communication protocol between the Qt Creator QmlJSInspector plugin and the QmlJSDebugger server. Point is to allow changing the speed of the animation before resuming execution. These two things were already separated in the QML Observer, but not in Qt Creator. Reviewed-by: Kai Koehne
This commit is contained in:
@@ -884,6 +884,8 @@ void InspectorUi::connectSignals()
|
||||
m_toolBar, SLOT(setSelectedColor(QColor)));
|
||||
connect(m_clientProxy, SIGNAL(animationSpeedChanged(qreal)),
|
||||
m_toolBar, SLOT(setAnimationSpeed(qreal)));
|
||||
connect(m_clientProxy, SIGNAL(executionPausedChanged(bool)),
|
||||
m_toolBar, SLOT(setExecutionPaused(bool)));
|
||||
|
||||
connect(m_toolBar, SIGNAL(applyChangesFromQmlFileTriggered(bool)),
|
||||
this, SLOT(setApplyChangesToQmlObserver(bool)));
|
||||
@@ -894,6 +896,8 @@ void InspectorUi::connectSignals()
|
||||
m_clientProxy, SLOT(reloadQmlViewer()));
|
||||
connect(m_toolBar, SIGNAL(animationSpeedChanged(qreal)),
|
||||
m_clientProxy, SLOT(setAnimationSpeed(qreal)));
|
||||
connect(m_toolBar, SIGNAL(executionPausedChanged(bool)),
|
||||
m_clientProxy, SLOT(setExecutionPaused(bool)));
|
||||
connect(m_toolBar, SIGNAL(colorPickerSelected()),
|
||||
m_clientProxy, SLOT(changeToColorPickerTool()));
|
||||
connect(m_toolBar, SIGNAL(zoomToolSelected()),
|
||||
|
||||
Reference in New Issue
Block a user