QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
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 19 of file qgsplaybackcontrollerwidget.cpp.
QPushButton * QgsPlaybackControllerWidget::button | ( | Qgis::PlaybackOperation | operation | ) |
Returns the button associated with the specified playback operation.
Definition at line 43 of file qgsplaybackcontrollerwidget.cpp.
|
signal |
Emitted when a playback operation is triggered.
|
slot |
Sets the current animation state for the widget.
Definition at line 65 of file qgsplaybackcontrollerwidget.cpp.
|
slot |
Toggles the pause state on or off.
Definition at line 89 of file qgsplaybackcontrollerwidget.cpp.