2017-06-16 16:24:30 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
2017-08-06 13:39:03 +02:00
|
|
|
* src/gui/symbology/qgsdatadefinedsizelegendwidget.h *
|
2017-06-16 16:24:30 +02:00
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-19 15:55:46 +02:00
|
|
|
|
2017-06-20 12:44:40 +02:00
|
|
|
|
2017-06-21 14:09:23 +02:00
|
|
|
class QgsDataDefinedSizeLegendWidget : QgsPanelWidget
|
2017-06-16 16:24:30 +02:00
|
|
|
{
|
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Widget for configuration of appearance of legend for marker symbols with data-defined size.
|
2017-06-16 16:24:30 +02:00
|
|
|
|
|
|
|
.. versionadded:: 3.0
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
2017-06-21 14:09:23 +02:00
|
|
|
#include "qgsdatadefinedsizelegendwidget.h"
|
2017-06-16 16:24:30 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-10-05 11:51:04 +10:00
|
|
|
|
2017-06-21 14:09:23 +02:00
|
|
|
explicit QgsDataDefinedSizeLegendWidget( const QgsDataDefinedSizeLegend *ddsLegend, const QgsProperty &ddSize, QgsMarkerSymbol *overrideSymbol /Transfer/, QgsMapCanvas *canvas = 0, QWidget *parent /TransferThis/ = 0 );
|
2017-06-16 16:24:30 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
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
|
2017-12-19 11:43:52 -04:00
|
|
|
when the symbol is given from outside rather than being set inside :py:class:`QgsDataDefinedSizeLegend`.
|
2017-06-16 16:24:30 +02:00
|
|
|
%End
|
2017-06-21 14:09:23 +02:00
|
|
|
~QgsDataDefinedSizeLegendWidget();
|
2017-06-16 16:24:30 +02:00
|
|
|
|
|
|
|
QgsDataDefinedSizeLegend *dataDefinedSizeLegend() const /Factory/;
|
|
|
|
%Docstring
|
|
|
|
Returns configuration as set up in the dialog (may be null). Ownership is passed to the caller.
|
|
|
|
%End
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2017-08-29 16:27:19 +10:00
|
|
|
|
2017-06-16 16:24:30 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
2017-08-06 13:39:03 +02:00
|
|
|
* src/gui/symbology/qgsdatadefinedsizelegendwidget.h *
|
2017-06-16 16:24:30 +02:00
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|