QGIS/python/gui/qgspresetcolorrampdialog.sip.in

110 lines
2.8 KiB
Plaintext
Raw Normal View History

2017-06-07 16:16:21 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgspresetcolorrampdialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsPresetColorRampWidget : QgsPanelWidget
{
2017-06-07 16:16:21 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
A widget which allows users to modify the properties of a QgsPresetSchemeColorRamp.
2017-06-07 16:16:21 +02:00
.. versionadded:: 3.0
%End
2017-06-07 16:16:21 +02:00
%TypeHeaderCode
#include "qgspresetcolorrampdialog.h"
%End
public:
QgsPresetColorRampWidget( const QgsPresetSchemeColorRamp &ramp, QWidget *parent /TransferThis/ = 0 );
2017-06-07 16:16:21 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsPresetColorRampWidget.
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-06-07 16:16:21 +02:00
%End
QgsPresetSchemeColorRamp ramp() const;
2017-06-07 16:16:21 +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-06-07 16:16:21 +02:00
%End
void setRamp( const QgsPresetSchemeColorRamp &ramp );
2017-06-07 16:16:21 +02:00
%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-06-07 16:16:21 +02:00
%End
signals:
void changed();
2017-06-07 16:16:21 +02:00
%Docstring
Emitted when the dialog settings change
%End
2017-06-07 16:16:21 +02:00
};
class QgsPresetColorRampDialog : QDialog
{
2017-06-07 16:16:21 +02:00
%Docstring
2017-12-19 11:43:52 -04:00
A dialog which allows users to modify the properties of a :py:class:`QgsPresetSchemeColorRamp`.
2017-12-15 10:36:55 -04:00
2017-06-07 16:16:21 +02:00
.. versionadded:: 3.0
%End
2017-06-07 16:16:21 +02:00
%TypeHeaderCode
#include "qgspresetcolorrampdialog.h"
%End
public:
QgsPresetColorRampDialog( const QgsPresetSchemeColorRamp &ramp, QWidget *parent /TransferThis/ = 0 );
2017-06-07 16:16:21 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsPresetColorRampDialog.
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-06-07 16:16:21 +02:00
%End
QgsPresetSchemeColorRamp ramp() const;
2017-06-07 16:16:21 +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-06-07 16:16:21 +02:00
%End
void setRamp( const QgsPresetSchemeColorRamp &ramp );
2017-06-07 16:16:21 +02:00
%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-06-07 16:16:21 +02:00
%End
signals:
void changed();
2017-06-07 16:16:21 +02:00
%Docstring
Emitted when the dialog settings change
%End
};
2017-06-07 16:16:21 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgspresetcolorrampdialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/