/************************************************************************ * 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 { %Docstring A widget which allows users to modify the properties of a QgsPresetSchemeColorRamp. .. versionadded:: 3.0 %End %TypeHeaderCode #include "qgspresetcolorrampdialog.h" %End public: QgsPresetColorRampWidget( const QgsPresetSchemeColorRamp &ramp, QWidget *parent /TransferThis/ = 0 ); %Docstring Constructor for QgsPresetColorRampWidget. :param ramp: initial ramp to show in dialog :param parent: parent widget %End QgsPresetSchemeColorRamp ramp() const; %Docstring Returns a color ramp representing the current settings from the dialog. .. seealso:: :py:func:`setRamp` %End void setRamp( const QgsPresetSchemeColorRamp &ramp ); %Docstring Sets the color ramp to show in the dialog. :param ramp: color ramp .. seealso:: :py:func:`ramp` %End signals: void changed(); %Docstring Emitted when the dialog settings change %End }; class QgsPresetColorRampDialog : QDialog { %Docstring A dialog which allows users to modify the properties of a :py:class:`QgsPresetSchemeColorRamp`. .. versionadded:: 3.0 %End %TypeHeaderCode #include "qgspresetcolorrampdialog.h" %End public: QgsPresetColorRampDialog( const QgsPresetSchemeColorRamp &ramp, QWidget *parent /TransferThis/ = 0 ); %Docstring Constructor for QgsPresetColorRampDialog. :param ramp: initial ramp to show in dialog :param parent: parent widget %End QgsPresetSchemeColorRamp ramp() const; %Docstring Returns a color ramp representing the current settings from the dialog. .. seealso:: :py:func:`setRamp` %End void setRamp( const QgsPresetSchemeColorRamp &ramp ); %Docstring Sets the color ramp to show in the dialog. :param ramp: color ramp .. seealso:: :py:func:`ramp` %End signals: void changed(); %Docstring Emitted when the dialog settings change %End }; /************************************************************************ * This file has been generated automatically from * * * * src/gui/qgspresetcolorrampdialog.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/