QGIS/python/gui/auto_generated/qgslegendpatchshapewidget.sip.in
Nyall Dawson 8a0e007ba5 [FEATURE] Support legend patch shapes in style manager databases
And clean up a lot of duplicate code which makes adding new types
to QgsStyle painful
2020-04-22 12:43:01 +10:00

90 lines
2.5 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgslegendpatchshapewidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsLegendPatchShapeWidget : QgsPanelWidget
{
%Docstring
Widget for configuring a custom legend patch shape.
.. versionadded:: 3.14
%End
%TypeHeaderCode
#include "qgslegendpatchshapewidget.h"
%End
public:
QgsLegendPatchShapeWidget( QWidget *parent /TransferThis/ = 0, const QgsLegendPatchShape &shape = QgsLegendPatchShape() );
%Docstring
Constructor for QgsLegendPatchShapeWidget, with the specified ``parent`` widget.
%End
QgsLegendPatchShape shape() const;
%Docstring
Returns the legend patch shape as currently defined by the widget.
.. seealso:: :py:func:`setShape`
%End
void setShape( const QgsLegendPatchShape &shape );
%Docstring
Sets the shape to show in the widget.
.. seealso:: :py:func:`shape`
%End
signals:
void changed();
%Docstring
Emitted whenever the patch shape defined by the widget is changed.
%End
};
class QgsLegendPatchShapeDialog : QDialog
{
%Docstring
A dialog for configuring a custom legend patch shape.
.. versionadded:: 3.14
%End
%TypeHeaderCode
#include "qgslegendpatchshapewidget.h"
%End
public:
QgsLegendPatchShapeDialog( const QgsLegendPatchShape &shape, QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsLegendPatchShapeDialog, initially showing the specified ``shape``.
%End
QgsLegendPatchShape shape() const;
%Docstring
Returns the legend patch shape defined by the dialog.
%End
QDialogButtonBox *buttonBox() const;
%Docstring
Returns a reference to the dialog's button box.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgslegendpatchshapewidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/