QGIS/python/gui/symbology-ng/qgslayerpropertieswidget.sip

36 lines
1.0 KiB
Plaintext
Raw Normal View History

2016-06-13 18:07:39 +10:00
class QgsLayerPropertiesWidget : QgsPanelWidget
{
%TypeHeaderCode
#include <qgslayerpropertieswidget.h>
%End
public:
2016-08-05 08:09:43 +02:00
QgsLayerPropertiesWidget( QgsSymbolLayer* layer, const QgsSymbol* symbol, const QgsVectorLayer* vl, QWidget* parent /TransferThis/ = NULL );
/** Sets the context in which the symbol widget is shown, eg the associated map canvas and expression contexts.
* @param context symbol widget context
* @see context()
* @note added in QGIS 3.0
*/
void setContext( const QgsSymbolWidgetContext& context );
/** Returns the context in which the symbol widget is shown, eg the associated map canvas and expression contexts.
* @see setContext()
2016-09-12 13:51:14 +10:00
* @note added in QGIS 3.0
*/
QgsSymbolWidgetContext context() const;
2016-09-12 13:51:14 +10:00
public slots:
void layerTypeChanged();
void emitSignalChanged();
signals:
void changed();
2016-08-05 08:08:39 +02:00
void changeLayer( QgsSymbolLayer* );
protected:
void populateLayerTypes();
2016-08-05 08:08:39 +02:00
void updateSymbolLayerWidget( QgsSymbolLayer* layer );
};