QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
Base class for 3D material settings widgets. More...
#include <qgsmaterialsettingswidget.h>
Signals | |
void | changed () |
Emitted when the material definition is changed. | |
Public Member Functions | |
QgsMaterialSettingsWidget (QWidget *parent) | |
Constructor for QgsMaterialSettingsWidget with the specified parent widget. | |
virtual void | setSettings (const QgsAbstractMaterialSettings *settings, QgsVectorLayer *layer)=0 |
Sets the material settings to show in the widget. | |
virtual void | setTechnique (QgsMaterialSettingsRenderingTechnique technique) |
Sets the rendering technique which will be used for the symbol. | |
virtual QgsAbstractMaterialSettings * | settings ()=0 |
Returns a new instance of the material settings defined by the widget. | |
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 19 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 23 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 74 of file qgsmaterialsettingswidget.h.