QGIS/python/gui/symbology/qgsdatadefinedsizelegendwidget.sip
Denis Rouzaud f2b3ed0a9b run sipify
2017-12-15 11:12:19 -04:00

56 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 null).
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 QgsDataDefinedSizeLegend.
%End
~QgsDataDefinedSizeLegendWidget();
QgsDataDefinedSizeLegend *dataDefinedSizeLegend() const /Factory/;
%Docstring
Returns configuration as set up in the dialog (may be null). Ownership is passed to the caller.
:rtype: QgsDataDefinedSizeLegend
%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 *
************************************************************************/