QGIS API Documentation
3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
src
gui
tiledscene
qgstiledscenerendererwidget.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgstiledscenerendererwidget.cpp
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
#include "
qgstiledscenerendererwidget.h
"
16
17
QgsTiledSceneRendererWidget::QgsTiledSceneRendererWidget
(
QgsTiledSceneLayer
*layer,
QgsStyle
*style )
18
: mLayer( layer )
19
, mStyle( style )
20
{
21
}
22
23
void
QgsTiledSceneRendererWidget::setContext
(
const
QgsSymbolWidgetContext
&context )
24
{
25
mContext
=
context
;
26
}
27
28
QgsSymbolWidgetContext
QgsTiledSceneRendererWidget::context
()
const
29
{
30
return
mContext
;
31
}
32
QgsStyle
Definition
qgsstyle.h:87
QgsSymbolWidgetContext
Contains settings which reflect the context in which a symbol (or renderer) widget is shown,...
Definition
qgssymbolwidgetcontext.h:35
QgsTiledSceneLayer
Represents a map layer supporting display of tiled scene objects.
Definition
qgstiledscenelayer.h:36
QgsTiledSceneRendererWidget::context
QgsSymbolWidgetContext context() const
Returns the context in which the renderer widget is shown, e.g., the associated map canvas and expres...
Definition
qgstiledscenerendererwidget.cpp:28
QgsTiledSceneRendererWidget::QgsTiledSceneRendererWidget
QgsTiledSceneRendererWidget(QgsTiledSceneLayer *layer, QgsStyle *style)
Constructor for QgsTiledSceneRendererWidget, associated with the specified layer and style database.
Definition
qgstiledscenerendererwidget.cpp:17
QgsTiledSceneRendererWidget::mContext
QgsSymbolWidgetContext mContext
Context in which widget is shown.
Definition
qgstiledscenerendererwidget.h:78
QgsTiledSceneRendererWidget::setContext
virtual void setContext(const QgsSymbolWidgetContext &context)
Sets the context in which the renderer widget is shown, e.g., the associated map canvas and expressio...
Definition
qgstiledscenerendererwidget.cpp:23
qgstiledscenerendererwidget.h
Generated on Mon Oct 28 2024 22:06:03 for QGIS API Documentation by
1.9.8