QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
qgstiledscenerendererwidget.h
Go to the documentation of this file.
1/***************************************************************************
2 qgstiledscenerendererwidget.h
3 ---------------------
4 begin : August 2023
5 copyright : (C) 2023 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#ifndef QGSTILEDSCENERENDERERWIDGET_H
16#define QGSTILEDSCENERENDERERWIDGET_H
17
18#include <QWidget>
19#include <QMenu>
20#include <QStackedWidget>
21#include "qgis_sip.h"
22#include "qgspanelwidget.h"
24
26class QgsStyle;
28class QgsMapCanvas;
29
37{
38 Q_OBJECT
39 public:
40
46
53
58 virtual void setContext( const QgsSymbolWidgetContext &context );
59
64 QgsSymbolWidgetContext context() const;
65
69 const QgsTiledSceneLayer *layer() const { return mLayer; }
70
71 signals:
72
73 protected:
74 QgsTiledSceneLayer *mLayer = nullptr;
75 QgsStyle *mStyle = nullptr;
76
79
80};
81
82#endif // QGSTILEDSCENERENDERERWIDGET_H
Map canvas is a class for displaying all GIS data types on a canvas.
Base class for any widget that can be shown as a inline panel.
Contains settings which reflect the context in which a symbol (or renderer) widget is shown,...
Represents a map layer supporting display of tiled scene objects.
Base class for tiled scene 2D renderer settings widgets.
QgsSymbolWidgetContext mContext
Context in which widget is shown.
const QgsTiledSceneLayer * layer() const
Returns the tiled scene layer associated with the widget.
virtual QgsTiledSceneRenderer * renderer()=0
Returns a new instance of a renderer as defined by the settings in the widget.
Abstract base class for 2d tiled scene renderers.
#define SIP_FACTORY
Definition qgis_sip.h:76