QGIS/python/PyQt6/gui/auto_generated/symbology/qgsdatadefinedsizelegendwidget.sip.in
Nyall Dawson 3f6b490218 Sipify
2025-04-02 11:11:10 +10: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.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 *
************************************************************************/