QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
Base class for 3D material settings widgets. More...
#include <qgsmaterialsettingswidget.h>
Signals | |
void | changed () |
Emitted when the material definition is changed. More... | |
Public Member Functions | |
QgsMaterialSettingsWidget (QWidget *parent) | |
Constructor for QgsMaterialSettingsWidget with the specified parent widget. More... | |
virtual void | setSettings (const QgsAbstractMaterialSettings *settings, QgsVectorLayer *layer)=0 |
Sets the material settings to show in the widget. More... | |
virtual void | setTechnique (QgsMaterialSettingsRenderingTechnique technique) |
Sets the rendering technique which will be used for the symbol. More... | |
virtual QgsAbstractMaterialSettings * | settings ()=0 |
Returns a new instance of the material settings defined by the widget. More... | |
Protected Attributes | |
QgsPropertyCollection | mPropertyCollection |
Base class for 3D material settings widgets.
Definition at line 38 of file qgsmaterialsettingswidget.h.
QgsMaterialSettingsWidget::QgsMaterialSettingsWidget | ( | QWidget * | parent | ) |
Constructor for QgsMaterialSettingsWidget with the specified parent widget.
Definition at line 18 of file qgsmaterialsettingswidget.cpp.
|
signal |
Emitted when the material definition is changed.
|
pure virtual |
Sets the material settings to show in the widget.
|
virtual |
Sets the rendering technique which will be used for the symbol.
Allows the widget to adapt available settings for the specified technique.
Definition at line 22 of file qgsmaterialsettingswidget.cpp.
|
pure virtual |
Returns a new instance of the material settings defined by the widget.
Caller takes ownership of the returned settings.
|
protected |
Definition at line 75 of file qgsmaterialsettingswidget.h.