2017-05-23 14:49:24 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsmaplayerconfigwidget.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsMapLayerConfigWidget : QgsPanelWidget
|
2016-07-03 21:11:18 +10:00
|
|
|
{
|
2017-05-23 14:49:24 +02:00
|
|
|
%Docstring
|
2018-05-26 14:10:30 +10:00
|
|
|
A panel widget that can be shown in the map style dock
|
2017-12-15 10:36:55 -04:00
|
|
|
|
2017-05-23 14:49:24 +02:00
|
|
|
.. versionadded:: 2.16
|
|
|
|
%End
|
|
|
|
|
2016-07-03 21:11:18 +10:00
|
|
|
%TypeHeaderCode
|
2017-05-23 14:49:24 +02:00
|
|
|
#include "qgsmaplayerconfigwidget.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsMapLayerConfigWidget( QgsMapLayer *layer, QgsMapCanvas *canvas, QWidget *parent = 0 );
|
|
|
|
%Docstring
|
2018-05-26 14:10:30 +10:00
|
|
|
A panel widget that can be shown in the map style dock
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param layer: The layer active in the dock.
|
|
|
|
:param canvas: The canvas object.
|
|
|
|
:param parent: The parent of the widget.
|
|
|
|
|
2017-05-23 14:49:24 +02:00
|
|
|
.. note::
|
|
|
|
|
|
|
|
The widget is created each time the panel is selected in the dock.
|
2018-01-12 20:51:17 -04:00
|
|
|
Keep the loading light as possible for speed in the UI.
|
2016-07-03 21:11:18 +10:00
|
|
|
%End
|
2017-05-23 14:49:24 +02:00
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
virtual void apply() = 0;
|
|
|
|
%Docstring
|
2018-05-26 14:10:30 +10:00
|
|
|
Called when changes to the layer need to be made.
|
2017-12-15 10:36:55 -04:00
|
|
|
Will be called when live update is enabled.
|
2017-05-23 14:49:24 +02:00
|
|
|
%End
|
|
|
|
|
|
|
|
protected:
|
2016-07-03 21:11:18 +10:00
|
|
|
};
|
2017-05-23 14:49:24 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsmaplayerconfigwidget.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|