QGIS API Documentation 4.1.0-Master (01362494303)
Loading...
Searching...
No Matches
qgsnullmaterialsettings.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsnullmaterialsettings.h
3 --------------------------------------
4 Date : November 2020
5 Copyright : (C) 2020 by Nyall Dawson
6 Email : nyall dot dawson at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16
17#ifndef QGSNULLMATERIALSETTINGS_H
18#define QGSNULLMATERIALSETTINGS_H
19
20#include "qgis_core.h"
22
23#include <QColor>
24
25class QDomElement;
26
37{
38 public:
40
41 QString type() const override;
42
47
52
54 bool equals( const QgsAbstractMaterialSettings *other ) const override;
55};
56
57
58#endif // QGSNULLMATERIALSETTINGS_H
MaterialRenderingTechnique
Material rendering techniques.
Definition qgis.h:4342
Abstract base class for material settings.
virtual QString type() const =0
Returns the unique type name for the material.
static QgsAbstractMaterialSettings * create()
Returns a new instance of QgsNullMaterialSettings.
QgsNullMaterialSettings()=default
bool equals(const QgsAbstractMaterialSettings *other) const override
Returns true if this settings exactly matches an other settings.
QgsNullMaterialSettings * clone() const override
Clones the material settings.
static bool supportsTechnique(Qgis::MaterialRenderingTechnique technique)
Returns true if the specified technique is supported by the material.
#define SIP_FACTORY
Definition qgis_sip.h:83