QGIS/python/gui/auto_generated/qgsopacitywidget.sip.in

73 lines
2.1 KiB
Plaintext
Raw Normal View History

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsopacitywidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsOpacityWidget : QWidget
{
%Docstring
A widget for setting an opacity value.
2017-12-15 10:36:55 -04:00
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgsopacitywidget.h"
%End
public:
explicit QgsOpacityWidget( QWidget *parent /TransferThis/ = 0 );
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsOpacityWidget.
%End
double opacity() const;
%Docstring
2017-12-15 10:36:55 -04:00
Returns the current opacity selected in the widget, where opacity ranges from 0.0 (transparent)
to 1.0 (opaque).
.. seealso:: :py:func:`setOpacity`
2017-12-15 10:36:55 -04:00
.. seealso:: :py:func:`opacityChanged`
%End
public slots:
void setOpacity( double opacity );
%Docstring
2017-12-15 10:36:55 -04:00
Sets the current ``opacity`` to show in the widget, where ``opacity`` ranges from 0.0 (transparent)
to 1.0 (opaque).
.. seealso:: :py:func:`opacity`
2017-12-15 10:36:55 -04:00
.. seealso:: :py:func:`opacityChanged`
%End
signals:
void opacityChanged( double opacity );
%Docstring
2017-12-15 10:36:55 -04:00
Emitted when the ``opacity`` is changed in the widget, where ``opacity`` ranges from 0.0 (transparent)
to 1.0 (opaque).
.. seealso:: :py:func:`setOpacity`
2017-12-15 10:36:55 -04:00
.. seealso:: :py:func:`opacity`
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsopacitywidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/