1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsplaybackcontrollerwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsPlaybackControllerWidget : QWidget
{
%Docstring(signature="appended")
A compound widget containing a set of buttons for controlling media
playback.
.. versionadded:: 3.36
%End
%TypeHeaderCode
#include "qgsplaybackcontrollerwidget.h"
%End
public:
explicit QgsPlaybackControllerWidget( QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsPlaybackControllerWidget, with the specified
``parent`` widget.
%End
QPushButton *button( Qgis::PlaybackOperation operation );
%Docstring
Returns the button associated with the specified playback ``operation``.
%End
public slots:
void setState( Qgis::AnimationState state );
%Docstring
Sets the current animation ``state`` for the widget.
%End
void togglePause();
%Docstring
Toggles the pause state on or off.
%End
signals:
void operationTriggered( Qgis::PlaybackOperation operation );
%Docstring
Emitted when a playback operation is triggered.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsplaybackcontrollerwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|