1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgslegendpatchshapewidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsLegendPatchShapeWidget : QgsPanelWidget
{
%Docstring(signature="appended")
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(signature="appended")
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.py again *
************************************************************************/
|