2016-06-02 22:50:16 +02:00
|
|
|
|
|
|
|
/** \ingroup gui
|
|
|
|
* \class QgsLayerTreeEmbeddedConfigWidget
|
|
|
|
* A widget to configure layer tree embedded widgets for a particular map layer.
|
|
|
|
* @note introduced in QGIS 2.16
|
|
|
|
*/
|
|
|
|
class QgsLayerTreeEmbeddedConfigWidget : public QWidget
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgslayertreeembeddedconfigwidget.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
2017-05-02 07:21:20 +02:00
|
|
|
QgsLayerTreeEmbeddedConfigWidget( QWidget *parent /TransferThis/ = 0 );
|
2016-06-02 22:50:16 +02:00
|
|
|
|
|
|
|
//! Initialize widget with a map layer
|
2017-05-01 18:13:15 +02:00
|
|
|
void setLayer( QgsMapLayer *layer );
|
2016-06-02 22:50:16 +02:00
|
|
|
|
|
|
|
//! Store changes made in the widget to the layer
|
|
|
|
void applyToLayer();
|
|
|
|
|
|
|
|
};
|