QGIS API Documentation 4.1.0-Master (64dc32379c2)
Loading...
Searching...
No Matches
qgsabstract3dmapbackgroundsettings.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsabstract3dmapbackgroundsettings.h
3 --------------------------------------
4 Date : April 2026
5 Copyright : (C) 2026 by Dominik Cindrić
6 Email : viper dot miniq 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#ifndef QGSABSTRACT3DMAPBACKGROUNDSETTINGS_H
17#define QGSABSTRACT3DMAPBACKGROUNDSETTINGS_H
18
19#include "qgis.h"
20#include "qgis_3d.h"
21
22class QDomElement;
24
35{
36 public:
38
42 virtual Qgis::Map3DBackgroundType type() const = 0;
43
46
52 virtual void readXml( const QDomElement &element, const QgsReadWriteContext &context ) = 0;
53
59 virtual void writeXml( QDomElement &element, const QgsReadWriteContext &context ) const = 0;
60};
61
62#endif // QGSABSTRACT3DMAPBACKGROUNDSETTINGS_H
Map3DBackgroundType
Background types for 3D map view.
Definition qgis.h:4386
Base class for all background settings classes used in a 3D map view.
virtual ~QgsAbstract3DMapBackgroundSettings()=default
virtual void readXml(const QDomElement &element, const QgsReadWriteContext &context)=0
Reads settings from a DOM element.
virtual QgsAbstract3DMapBackgroundSettings * clone() const =0
Returns a deep copy of this background settings object.
virtual void writeXml(QDomElement &element, const QgsReadWriteContext &context) const =0
Writes settings to a DOM element.
virtual Qgis::Map3DBackgroundType type() const =0
Returns the unique type for this background settings class.
A container for the context for various read/write operations on objects.
#define SIP_FACTORY
Definition qgis_sip.h:83