QGIS API Documentation 3.37.0-Master (49cede7946b)
Loading...
Searching...
No Matches
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#define SIP_NO_FILE
23
25#include "ui_qgstiledscenesourceselectbase.h"
26
36class QgsTiledSceneSourceSelect : public QgsAbstractDataSourceWidget, private Ui::QgsTiledSceneSourceSelectBase
37{
38 Q_OBJECT
39
40 public:
42 QgsTiledSceneSourceSelect( QWidget *parent = nullptr, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags, QgsProviderRegistry::WidgetMode widgetMode = QgsProviderRegistry::WidgetMode::None );
43
45 void addButtonClicked() override;
46
47 private slots:
48
50 void btnNewCesium3DTiles_clicked();
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:
65 void populateConnectionList();
66 void setConnectionListPosition();
67};
68
70
71#endif // QGSTILEDSCENESOURCESELECT_H
Abstract base Data Source Widget to create connections and add layers This class provides common func...
virtual void addButtonClicked()
Triggered when the add button is clicked, the add layer signal is emitted Concrete classes should imp...
WidgetMode
Different ways a source select dialog can be used.
@ None
Basic mode when the widget is used as a standalone dialog.