QGIS API Documentation 3.41.0-Master (d5b93354e9c)
Loading...
Searching...
No Matches
qgstiledscenetexturerendererwidget.h
Go to the documentation of this file.
1/***************************************************************************
2 qgstiledscenetexturerendererwidget.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/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef QGSTILEDSCENETEXTURERENDERERWIDGET_H
19#define QGSTILEDSCENETEXTURERENDERERWIDGET_H
20
22#include "ui_qgstiledscenetexturerendererwidgetbase.h"
23#include "qgis_gui.h"
24
26class QgsStyle;
28
29#define SIP_NO_FILE
30
32
33class GUI_EXPORT QgsTiledSceneTextureRendererWidget : public QgsTiledSceneRendererWidget, private Ui::QgsTiledSceneTextureRendererWidgetBase
34{
35 Q_OBJECT
36
37 public:
38 QgsTiledSceneTextureRendererWidget( QgsTiledSceneLayer *layer, QgsStyle *style );
40
42
43 private slots:
44
45 void emitWidgetChanged();
46
47 private:
48 void setFromRenderer( const QgsTiledSceneRenderer *r );
49
50 bool mBlockChangedSignal = false;
51};
52
54
55#endif // QGSTILEDSCENETEXTURERENDERERWIDGET_H
Represents a map layer supporting display of tiled scene objects.
Base class for tiled scene 2D renderer settings widgets.
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.