QGIS/python/gui/qgscolorbrewercolorrampdialog.sip

103 lines
2.9 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
A widget which allows users to modify the properties of a QgsColorBrewerColorRamp.
.. 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
Constructor for QgsColorBrewerColorRampWidget.
\param ramp initial ramp to show in dialog
\param parent parent widget
%End
QgsColorBrewerColorRamp ramp() const;
2017-05-01 13:35:13 +02:00
%Docstring
Returns a color ramp representing the current settings from the dialog.
.. seealso:: setRamp()
:rtype: QgsColorBrewerColorRamp
%End
2017-05-01 13:35:13 +02:00
void setRamp( const QgsColorBrewerColorRamp &ramp );
%Docstring
Sets the color ramp to show in the dialog.
\param ramp color ramp
.. seealso:: ramp()
%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
A dialog which allows users to modify the properties of a QgsColorBrewerColorRamp.
.. 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
Constructor for QgsColorBrewerColorRampDialog.
\param ramp initial ramp to show in dialog
\param parent parent widget
%End
QgsColorBrewerColorRamp ramp() const;
2017-05-01 13:35:13 +02:00
%Docstring
Returns a color ramp representing the current settings from the dialog.
.. seealso:: setRamp()
:rtype: QgsColorBrewerColorRamp
%End
2017-05-01 13:35:13 +02:00
void setRamp( const QgsColorBrewerColorRamp &ramp );
%Docstring
Sets the color ramp to show in the dialog.
\param ramp color ramp
.. seealso:: ramp()
%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 *
************************************************************************/