QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
tiledscene
qgstiledscenesourceselect.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgstiledscenesourceselect.h
3
---------------------------------
4
begin : June 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 QGSTILEDSCENESOURCESELECT_H
19
#define QGSTILEDSCENESOURCESELECT_H
20
22
23
#include "ui_qgstiledscenesourceselectbase.h"
24
25
#include "
qgsabstractdatasourcewidget.h
"
26
27
#define SIP_NO_FILE
28
38
class
QgsTiledSceneSourceSelect :
public
QgsAbstractDataSourceWidget
,
private
Ui::QgsTiledSceneSourceSelectBase
39
{
40
Q_OBJECT
41
42
public
:
44
QgsTiledSceneSourceSelect( QWidget *parent =
nullptr
, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags,
QgsProviderRegistry::WidgetMode
widgetMode =
QgsProviderRegistry::WidgetMode::Standalone
);
45
47
void
addButtonClicked
()
override
;
48
49
private
slots:
50
52
void
btnEdit_clicked();
54
void
btnDelete_clicked();
56
void
btnSave_clicked();
58
void
btnLoad_clicked();
60
void
cmbConnections_currentTextChanged(
const
QString &text );
61
62
void
showHelp();
63
64
private
:
66
void
newConnection( QString provider );
67
void
populateConnectionList();
68
void
setConnectionListPosition();
69
};
70
72
73
#endif
// QGSTILEDSCENESOURCESELECT_H
QgsAbstractDataSourceWidget
Abstract base class for Data Source widgets to create connections and add layers.
Definition
qgsabstractdatasourcewidget.h:47
QgsAbstractDataSourceWidget::addButtonClicked
virtual void addButtonClicked()
Triggered when the add button is clicked, the add layer signal is emitted Concrete classes should imp...
Definition
qgsabstractdatasourcewidget.cpp:63
QgsProviderRegistry::WidgetMode
WidgetMode
Different ways a source select dialog can be used.
Definition
qgsproviderregistry.h:69
QgsProviderRegistry::Standalone
@ Standalone
Basic mode when the widget is used as a standalone dialog.
Definition
qgsproviderregistry.h:76
qgsabstractdatasourcewidget.h
Generated on
for QGIS API Documentation by
1.17.0