mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
103 lines
2.9 KiB
Plaintext
103 lines
2.9 KiB
Plaintext
/************************************************************************
|
|
* 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
|
|
{
|
|
%Docstring
|
|
A widget which allows users to modify the properties of a QgsColorBrewerColorRamp.
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgscolorbrewercolorrampdialog.h"
|
|
%End
|
|
public:
|
|
|
|
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;
|
|
%Docstring
|
|
Returns a color ramp representing the current settings from the dialog.
|
|
.. seealso:: setRamp()
|
|
:rtype: QgsColorBrewerColorRamp
|
|
%End
|
|
|
|
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();
|
|
%Docstring
|
|
Emitted when the dialog settings change
|
|
%End
|
|
|
|
};
|
|
|
|
class QgsColorBrewerColorRampDialog : QDialog
|
|
{
|
|
%Docstring
|
|
A dialog which allows users to modify the properties of a QgsColorBrewerColorRamp.
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgscolorbrewercolorrampdialog.h"
|
|
%End
|
|
public:
|
|
|
|
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;
|
|
%Docstring
|
|
Returns a color ramp representing the current settings from the dialog.
|
|
.. seealso:: setRamp()
|
|
:rtype: QgsColorBrewerColorRamp
|
|
%End
|
|
|
|
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();
|
|
%Docstring
|
|
Emitted when the dialog settings change
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgscolorbrewercolorrampdialog.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|