QGIS/python/gui/qgscolorbrewercolorrampdialog.sip.in

111 lines
2.8 KiB
Plaintext
Raw Normal View History

2017-05-01 13:35:13 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscolorbrewercolorrampdialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsColorBrewerColorRampWidget : QgsPanelWidget
{
2017-05-01 13:35:13 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
A widget which allows users to modify the properties of a QgsColorBrewerColorRamp.
2017-05-01 13:35:13 +02:00
.. versionadded:: 3.0
%End
2017-05-01 13:35:13 +02:00
%TypeHeaderCode
#include "qgscolorbrewercolorrampdialog.h"
%End
public:
2017-05-01 13:35:13 +02:00
QgsColorBrewerColorRampWidget( const QgsColorBrewerColorRamp &ramp, QWidget *parent /TransferThis/ = 0 );
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsColorBrewerColorRampWidget.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param ramp: initial ramp to show in dialog
:param parent: parent widget
2017-05-01 13:35:13 +02:00
%End
QgsColorBrewerColorRamp ramp() const;
2017-05-01 13:35:13 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns a color ramp representing the current settings from the dialog.
.. seealso:: :py:func:`setRamp`
2017-05-01 13:35:13 +02:00
%End
2017-05-01 13:35:13 +02:00
void setRamp( const QgsColorBrewerColorRamp &ramp );
%Docstring
2017-12-15 10:36:55 -04:00
Sets the color ramp to show in the dialog.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param ramp: color ramp
.. seealso:: :py:func:`ramp`
2017-05-01 13:35:13 +02:00
%End
signals:
void changed();
2017-05-01 13:35:13 +02:00
%Docstring
Emitted when the dialog settings change
%End
2017-05-01 13:35:13 +02:00
};
2016-08-24 13:41:08 +10:00
class QgsColorBrewerColorRampDialog : QDialog
{
2017-05-01 13:35:13 +02:00
%Docstring
2017-12-19 11:43:52 -04:00
A dialog which allows users to modify the properties of a :py:class:`QgsColorBrewerColorRamp`.
2017-12-15 10:36:55 -04:00
2017-05-01 13:35:13 +02:00
.. versionadded:: 3.0
%End
2017-05-01 13:35:13 +02:00
%TypeHeaderCode
#include "qgscolorbrewercolorrampdialog.h"
%End
public:
2016-08-24 13:41:08 +10:00
2017-05-01 13:35:13 +02:00
QgsColorBrewerColorRampDialog( const QgsColorBrewerColorRamp &ramp, QWidget *parent /TransferThis/ = 0 );
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsColorBrewerColorRampDialog.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param ramp: initial ramp to show in dialog
:param parent: parent widget
2017-05-01 13:35:13 +02:00
%End
QgsColorBrewerColorRamp ramp() const;
2017-05-01 13:35:13 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns a color ramp representing the current settings from the dialog.
.. seealso:: :py:func:`setRamp`
2017-05-01 13:35:13 +02:00
%End
2017-05-01 13:35:13 +02:00
void setRamp( const QgsColorBrewerColorRamp &ramp );
%Docstring
2017-12-15 10:36:55 -04:00
Sets the color ramp to show in the dialog.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param ramp: color ramp
.. seealso:: :py:func:`ramp`
2017-05-01 13:35:13 +02:00
%End
2016-08-24 13:41:08 +10:00
signals:
2016-08-24 13:41:08 +10:00
void changed();
2017-05-01 13:35:13 +02:00
%Docstring
Emitted when the dialog settings change
%End
};
2017-05-01 13:35:13 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscolorbrewercolorrampdialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/