Class: QgsPlaybackControllerWidget¶
A compound widget containing a set of buttons for controlling media playback.
Added in version 3.36.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Methods
Returns the button associated with the specified playback operation. |
|
Sets the current animation state for the widget. |
|
Toggles the pause state on or off. |
Signals
Emitted when a playback operation is triggered. |
- class qgis.gui.QgsPlaybackControllerWidget[source]¶
Bases:
QWidget- __init__(parent: QWidget | None = None)
Constructor for QgsPlaybackControllerWidget, with the specified
parentwidget.- Parameters:
parent (Optional[QWidget] = None)
- button(self, operation: Qgis.PlaybackOperation) QPushButton | None[source]¶
Returns the button associated with the specified playback
operation.- Parameters:
operation (Qgis.PlaybackOperation)
- Return type:
Optional[QPushButton]
- signal operationTriggered(operation: Qgis.PlaybackOperation)[source]¶
Emitted when a playback operation is triggered.
- Parameters:
operation (Qgis.PlaybackOperation)
- setState(self, state: Qgis.AnimationState)[source]¶
Sets the current animation
statefor the widget.- Parameters:
state (Qgis.AnimationState)