QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
A compound widget containing a set of buttons for controlling media playback. More...
#include <qgsplaybackcontrollerwidget.h>
Public Slots | |
void | setState (Qgis::AnimationState state) |
Sets the current animation state for the widget. | |
void | togglePause () |
Toggles the pause state on or off. | |
Signals | |
void | operationTriggered (Qgis::PlaybackOperation operation) |
Emitted when a playback operation is triggered. | |
Public Member Functions | |
QgsPlaybackControllerWidget (QWidget *parent=nullptr) | |
Constructor for QgsPlaybackControllerWidget, with the specified parent widget. | |
QPushButton * | button (Qgis::PlaybackOperation operation) |
Returns the button associated with the specified playback operation. | |
A compound widget containing a set of buttons for controlling media playback.
Definition at line 30 of file qgsplaybackcontrollerwidget.h.
|
explicit |
Constructor for QgsPlaybackControllerWidget, with the specified parent widget.
Definition at line 18 of file qgsplaybackcontrollerwidget.cpp.
QPushButton * QgsPlaybackControllerWidget::button | ( | Qgis::PlaybackOperation | operation | ) |
Returns the button associated with the specified playback operation.
Definition at line 42 of file qgsplaybackcontrollerwidget.cpp.
|
signal |
Emitted when a playback operation is triggered.
|
slot |
Sets the current animation state for the widget.
Definition at line 64 of file qgsplaybackcontrollerwidget.cpp.
|
slot |
Toggles the pause state on or off.
Definition at line 88 of file qgsplaybackcontrollerwidget.cpp.