Base class for 3D material settings widgets.
More...
#include <qgsmaterialsettingswidget.h>
|
| virtual void | setPreviewVisible (bool visible)=0 |
| | Sets whether the material preview widget should be visible.
|
|
| void | changed () |
| | Emitted when the material definition is changed.
|
Base class for 3D material settings widgets.
- Note
- Not available in Python bindings
- Since
- QGIS 3.16
Definition at line 38 of file qgsmaterialsettingswidget.h.
◆ QgsMaterialSettingsWidget()
| QgsMaterialSettingsWidget::QgsMaterialSettingsWidget |
( |
QWidget * | parent | ) |
|
◆ changed
| void QgsMaterialSettingsWidget::changed |
( |
| ) |
|
|
signal |
Emitted when the material definition is changed.
◆ setPreviewVisible
| virtual void QgsMaterialSettingsWidget::setPreviewVisible |
( |
bool | visible | ) |
|
|
pure virtualslot |
Sets whether the material preview widget should be visible.
◆ setSettings()
Sets the material settings to show in the widget.
◆ setTechnique()
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 24 of file qgsmaterialsettingswidget.cpp.
◆ settings()
Returns a new instance of the material settings defined by the widget.
Caller takes ownership of the returned settings.
◆ mPropertyCollection
The documentation for this class was generated from the following files: