QGIS/python/gui/auto_generated/symbology/qgsdatadefinedsizelegendwidget.sip.in
Nyall Dawson 1dc447e1f2 Dox++
2019-03-21 12:44:16 +10:00

54 lines
2.2 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/symbology/qgsdatadefinedsizelegendwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsDataDefinedSizeLegendWidget : QgsPanelWidget
{
%Docstring
Widget for configuration of appearance of legend for marker symbols with data-defined size.
.. versionadded:: 3.0
%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.pl again *
************************************************************************/