QGIS/python/gui/qgsmaplayerconfigwidget.sip

54 lines
1.8 KiB
Plaintext
Raw Normal View History

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
{
2017-05-23 14:49:24 +02:00
%Docstring
A panel widget that can be shown in the map style dock
.. versionadded:: 2.16
%End
%TypeHeaderCode
2017-05-23 14:49:24 +02:00
#include "qgsmaplayerconfigwidget.h"
%End
public:
QgsMapLayerConfigWidget( QgsMapLayer *layer, QgsMapCanvas *canvas, QWidget *parent = 0 );
%Docstring
A panel widget that can be shown in the map style dock
\param layer The layer active in the dock.
\param canvas The canvas object.
\param parent The parent of the widget.
.. note::
The widget is created each time the panel is selected in the dock.
Keep the loading light as possible for speed in the UI.
%End
2017-05-23 14:49:24 +02:00
public slots:
virtual void apply() = 0;
%Docstring
Called when changes to the layer need to be made.
Will be called when live update is enabled.
%End
protected:
};
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 *
************************************************************************/