QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
tiledscene
qgstiledscenelayerproperties.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgstiledscenelayerproperties.h
3
--------------------------------------
4
Date : June 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
16
#ifndef QGSTILEDSCENELAYERPROPERTIES_H
17
#define QGSTILEDSCENELAYERPROPERTIES_H
18
19
#include "ui_qgstiledscenelayerpropertiesbase.h"
20
21
#include "qgis_gui.h"
22
#include "
qgslayerpropertiesdialog.h
"
23
24
#define SIP_NO_FILE
25
26
class
QgsTiledSceneLayer
;
27
class
QgsMessageBar
;
28
class
QgsMetadataWidget
;
29
36
class
GUI_EXPORT
QgsTiledSceneLayerProperties
:
public
QgsLayerPropertiesDialog
,
private
Ui::QgsTiledSceneLayerPropertiesBase
37
{
38
Q_OBJECT
39
public
:
41
QgsTiledSceneLayerProperties
(
QgsTiledSceneLayer
*layer,
QgsMapCanvas
*canvas,
QgsMessageBar
*messageBar, QWidget *parent =
nullptr
, Qt::WindowFlags = QgsGuiUtils::ModalDialogFlags );
42
43
protected
slots:
44
void
syncToLayer
()
final
;
45
void
apply
()
final
;
46
void
rollback
()
final
;
47
48
private
slots:
49
void
aboutToShowStyleMenu();
50
void
showHelp();
51
void
crsChanged(
const
QgsCoordinateReferenceSystem
&crs );
52
53
private
:
54
QgsTiledSceneLayer
*mLayer =
nullptr
;
55
56
QAction *mActionLoadMetadata =
nullptr
;
57
QAction *mActionSaveMetadataAs =
nullptr
;
58
59
QgsMetadataWidget
*mMetadataWidget =
nullptr
;
60
61
QgsCoordinateReferenceSystem
mBackupCrs;
62
};
63
64
#endif
// QGSTILEDSCENELAYERPROPERTIES_H
QgsCoordinateReferenceSystem
Represents a coordinate reference system (CRS).
Definition
qgscoordinatereferencesystem.h:216
QgsLayerPropertiesDialog::rollback
virtual void rollback()
Rolls back changes made to the layer.
Definition
qgslayerpropertiesdialog.cpp:593
QgsLayerPropertiesDialog::apply
virtual void apply()=0
Applies the dialog settings to the layer.
QgsLayerPropertiesDialog::syncToLayer
virtual void syncToLayer()=0
Resets the dialog to the current layer state.
QgsLayerPropertiesDialog::QgsLayerPropertiesDialog
QgsLayerPropertiesDialog(QgsMapLayer *layer, QgsMapCanvas *canvas, const QString &settingsKey, QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags(), QgsSettings *settings=nullptr)
Constructor for QgsLayerPropertiesDialog.
Definition
qgslayerpropertiesdialog.cpp:44
QgsMapCanvas
Map canvas is a class for displaying all GIS data types on a canvas.
Definition
qgsmapcanvas.h:96
QgsMessageBar
A bar for displaying non-blocking messages to the user.
Definition
qgsmessagebar.h:61
QgsMetadataWidget
A wizard to edit metadata on a map layer.
Definition
qgsmetadatawidget.h:42
QgsTiledSceneLayerProperties::QgsTiledSceneLayerProperties
QgsTiledSceneLayerProperties(QgsTiledSceneLayer *layer, QgsMapCanvas *canvas, QgsMessageBar *messageBar, QWidget *parent=nullptr, Qt::WindowFlags=QgsGuiUtils::ModalDialogFlags)
Constructor.
Definition
qgstiledscenelayerproperties.cpp:38
QgsTiledSceneLayer
Represents a map layer supporting display of tiled scene objects.
Definition
qgstiledscenelayer.h:40
qgslayerpropertiesdialog.h
Generated on
for QGIS API Documentation by
1.17.0