QGIS/python/gui/symbology-ng/qgscptcitycolorrampdialog.sip

80 lines
2.2 KiB
Plaintext
Raw Normal View History

2017-06-08 15:30:38 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/symbology-ng/qgscptcitycolorrampdialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
2016-08-06 11:01:42 +02:00
class QgsCptCityColorRampDialog : QDialog
{
2017-06-08 15:30:38 +02:00
%Docstring
A dialog which allows users to modify the properties of a QgsCptCityColorRamp.
.. versionadded:: 3.0
%End
2017-06-08 15:30:38 +02:00
%TypeHeaderCode
#include "qgscptcitycolorrampdialog.h"
%End
public:
QgsCptCityColorRampDialog( const QgsCptCityColorRamp &ramp, QWidget *parent /TransferThis/ = 0 );
2017-06-08 15:30:38 +02:00
%Docstring
Constructor for QgsCptCityColorRampDialog.
\param ramp initial ramp to show in dialog
\param parent parent widget
%End
QgsCptCityColorRamp ramp() const;
2017-06-08 15:30:38 +02:00
%Docstring
Returns a color ramp representing the current settings from the dialog.
.. seealso:: setRamp()
:rtype: QgsCptCityColorRamp
%End
void setRamp( const QgsCptCityColorRamp &ramp );
2017-06-08 15:30:38 +02:00
%Docstring
Sets the color ramp to show in the dialog.
\param ramp color ramp
.. seealso:: ramp()
%End
QString selectedName() const;
2017-06-08 15:30:38 +02:00
%Docstring
Returns the name of the ramp currently selected in the dialog.
:rtype: str
%End
2013-06-23 16:00:16 +02:00
bool saveAsGradientRamp() const;
2017-06-08 15:30:38 +02:00
%Docstring
Returns true if the ramp should be converted to a QgsGradientColorRamp.
:rtype: bool
%End
virtual bool eventFilter( QObject *obj, QEvent *event );
2013-06-23 16:00:16 +02:00
2016-08-24 13:41:08 +10:00
signals:
void changed();
2017-06-08 15:30:38 +02:00
%Docstring
Emitted when the dialog settings change
%End
};
2017-06-08 15:30:38 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/symbology-ng/qgscptcitycolorrampdialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/