16 #ifndef QGSMATERIALREGISTRY_H
17 #define QGSMATERIALREGISTRY_H
22 #include <QDomElement>
51 , mVisibleName( visibleName )
60 QString
type()
const {
return mType; }
70 QIcon
icon()
const {
return mIcon; }
137 const QIcon &icon = QIcon() )
139 , mCreateFunc( pfCreate )
140 , mSupportsTechniqueFunc( pfSupportsTechnique )
141 , mWidgetFunc( pfWidget )
203 QStringList materialSettingsTypes()
const;
222 QMap<QString, QgsMaterialSettingsAbstractMetadata *> mMetadata;
224 QStringList mMaterialsOrder;
Registry of available 3d material settings classes.
QgsMaterialRegistry(const QgsMaterialRegistry &rh)=delete
QgsMaterialRegistry cannot be copied.
QgsMaterialRegistry & operator=(const QgsMaterialRegistry &rh)=delete
QgsMaterialRegistry cannot be copied.
The class is used as a container of context for various read/write operations on other objects.
QgsMaterialSettingsRenderingTechnique
Material rendering techniques 3.
QgsAbstractMaterialSettings *(* QgsMaterialSettingsCreateFunc)()
Material settings creation function.
QgsMaterialSettingsWidget *(* QgsMaterialSettingsWidgetFunc)()
Material settings widget creation function.
bool(* QgsMaterialSettingsSupportsTechniqueFunc)(QgsMaterialSettingsRenderingTechnique)
Material settings supports technique function.