QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
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.
 
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 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 19 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 43 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 65 of file qgsplaybackcontrollerwidget.cpp.

◆ togglePause

void QgsPlaybackControllerWidget::togglePause ( )
slot

Toggles the pause state on or off.

Definition at line 89 of file qgsplaybackcontrollerwidget.cpp.


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