QGIS API Documentation 3.99.0-Master (21b3aa880ba)
Loading...
Searching...
No Matches
QgsPlaybackControllerWidget Class Reference

A compound widget containing a set of buttons for controlling media playback. More...

#include <qgsplaybackcontrollerwidget.h>

Inheritance diagram for QgsPlaybackControllerWidget:

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.

Detailed Description

A compound widget containing a set of buttons for controlling media playback.

Since
QGIS 3.36

Definition at line 32 of file qgsplaybackcontrollerwidget.h.

Constructor & Destructor Documentation

◆ QgsPlaybackControllerWidget()

QgsPlaybackControllerWidget::QgsPlaybackControllerWidget ( QWidget * parent = nullptr)
explicit

Constructor for QgsPlaybackControllerWidget, with the specified parent widget.

Definition at line 20 of file qgsplaybackcontrollerwidget.cpp.

Member Function Documentation

◆ button()

QPushButton * QgsPlaybackControllerWidget::button ( Qgis::PlaybackOperation operation)

Returns the button associated with the specified playback operation.

Definition at line 44 of file qgsplaybackcontrollerwidget.cpp.

◆ operationTriggered

void QgsPlaybackControllerWidget::operationTriggered ( Qgis::PlaybackOperation operation)
signal

Emitted when a playback operation is triggered.

◆ setState

void QgsPlaybackControllerWidget::setState ( Qgis::AnimationState state)
slot

Sets the current animation state for the widget.

Definition at line 66 of file qgsplaybackcontrollerwidget.cpp.

◆ togglePause

void QgsPlaybackControllerWidget::togglePause ( )
slot

Toggles the pause state on or off.

Definition at line 90 of file qgsplaybackcontrollerwidget.cpp.


The documentation for this class was generated from the following files: