mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
23 lines
560 B
Plaintext
23 lines
560 B
Plaintext
|
|
/** \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:
|
|
QgsLayerTreeEmbeddedConfigWidget( QWidget *parent /TransferThis/ = 0 );
|
|
|
|
//! Initialize widget with a map layer
|
|
void setLayer( QgsMapLayer *layer );
|
|
|
|
//! Store changes made in the widget to the layer
|
|
void applyToLayer();
|
|
|
|
};
|