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:
@@ -106,7 +106,8 @@ signals:
|
||||
void selectToolActivated();
|
||||
void selectMarqueeToolActivated();
|
||||
void zoomToolActivated();
|
||||
void animationSpeedChanged(qreal slowdownFactor);
|
||||
void animationSpeedChanged(qreal slowDownFactor);
|
||||
void executionPausedChanged(bool paused);
|
||||
void designModeBehaviorChanged(bool inDesignMode);
|
||||
void showAppOnTopChanged(bool showAppOnTop);
|
||||
void serverReloaded();
|
||||
@@ -120,7 +121,8 @@ public slots:
|
||||
void reloadQmlViewer();
|
||||
|
||||
void setDesignModeBehavior(bool inDesignMode);
|
||||
void setAnimationSpeed(qreal slowdownFactor = 1.0f);
|
||||
void setAnimationSpeed(qreal slowDownFactor);
|
||||
void setExecutionPaused(bool paused);
|
||||
void changeToColorPickerTool();
|
||||
void changeToZoomTool();
|
||||
void changeToSelectTool();
|
||||
|
||||
Reference in New Issue
Block a user