QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Slots | Signals | Public Member Functions | List of all members
QgsPlaybackControllerWidget Class Reference

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

#include <qgsplaybackcontrollerwidget.h>

Inheritance diagram for QgsPlaybackControllerWidget:
Inheritance graph
[legend]

Public Slots

void setState (Qgis::AnimationState state)
 Sets the current animation state for the widget. More...
 
void togglePause ()
 Toggles the pause state on or off. More...
 

Signals

void operationTriggered (Qgis::PlaybackOperation operation)
 Emitted when a playback operation is triggered. More...
 

Public Member Functions

 QgsPlaybackControllerWidget (QWidget *parent=nullptr)
 Constructor for QgsPlaybackControllerWidget, with the specified parent widget. More...
 
QPushButton * button (Qgis::PlaybackOperation operation)
 Returns the button associated with the specified playback operation. More...
 

Detailed Description

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

Since
QGIS 3.36

Definition at line 30 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 18 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 42 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 64 of file qgsplaybackcontrollerwidget.cpp.

◆ togglePause

void QgsPlaybackControllerWidget::togglePause ( )
slot

Toggles the pause state on or off.

Definition at line 88 of file qgsplaybackcontrollerwidget.cpp.


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