|
QGIS API Documentation 4.3.0-Master (6a28b93578f)
|
A dialog for configuring a 3D material. More...
#include <qgsmaterialwidget.h>

Public Member Functions | |
| QgsMaterialWidgetDialog (const QgsAbstractMaterialSettings *settings, QWidget *parent=nullptr) | |
| Constructor for QgsMaterialWidgetDialog, initially showing the specified material settings. | |
| QDialogButtonBox * | buttonBox () |
| Returns the dialog's button box. | |
| void | setFilterByTechnique (bool enabled) |
| Sets whether available materials should be filtered by technique. | |
| void | setTechnique (Qgis::MaterialRenderingTechnique technique) |
| Sets the required rendering technique which the material must support. | |
| std::unique_ptr< QgsAbstractMaterialSettings > | settings () |
| Returns the current settings defined by the dialog. | |
A dialog for configuring a 3D material.
Definition at line 163 of file qgsmaterialwidget.h.
| QgsMaterialWidgetDialog::QgsMaterialWidgetDialog | ( | const QgsAbstractMaterialSettings * | settings, |
| QWidget * | parent = nullptr ) |
Constructor for QgsMaterialWidgetDialog, initially showing the specified material settings.
Definition at line 233 of file qgsmaterialwidget.cpp.
| QDialogButtonBox * QgsMaterialWidgetDialog::buttonBox | ( | ) |
Returns the dialog's button box.
Definition at line 273 of file qgsmaterialwidget.cpp.
| void QgsMaterialWidgetDialog::setFilterByTechnique | ( | bool | enabled | ) |
Sets whether available materials should be filtered by technique.
Definition at line 263 of file qgsmaterialwidget.cpp.
| void QgsMaterialWidgetDialog::setTechnique | ( | Qgis::MaterialRenderingTechnique | technique | ) |
Sets the required rendering technique which the material must support.
This is used to filter the available material choices in the widget.
true.Definition at line 258 of file qgsmaterialwidget.cpp.
| std::unique_ptr< QgsAbstractMaterialSettings > QgsMaterialWidgetDialog::settings | ( | ) |
Returns the current settings defined by the dialog.
Definition at line 268 of file qgsmaterialwidget.cpp.