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
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/symbology/qgsdatadefinedsizelegendwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsDataDefinedSizeLegendWidget : QgsPanelWidget
{
%Docstring(signature="appended")
Widget for configuration of appearance of legend for marker symbols with
data-defined size.
%End
%TypeHeaderCode
#include "qgsdatadefinedsizelegendwidget.h"
%End
public:
explicit QgsDataDefinedSizeLegendWidget( const QgsDataDefinedSizeLegend *ddsLegend, const QgsProperty &ddSize, QgsMarkerSymbol *overrideSymbol /Transfer/, QgsMapCanvas *canvas = 0, QWidget *parent /TransferThis/ = 0 );
%Docstring
Creates the dialog and initializes the content to what is passed in the
legend configuration (may be ``None``). The ddSize argument determines
scaling of the marker symbol - it should have a size scale transformer
assigned to know the range of sizes. The overrideSymbol argument may
override the source symbol: this is useful in case when the symbol is
given from outside rather than being set inside
:py:class:`QgsDataDefinedSizeLegend`.
%End
~QgsDataDefinedSizeLegendWidget();
QgsDataDefinedSizeLegend *dataDefinedSizeLegend() const /Factory/;
%Docstring
Returns configuration as set up in the dialog (may be ``None``).
Ownership is passed to the caller.
%End
signals:
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/symbology/qgsdatadefinedsizelegendwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|