QGIS API Documentation
4.3.0-Master (0ad0cdb9438)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
vectortile
qgsvectortilesourceselect.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsvectortilesourceselect.h
3
---------------------------------
4
begin : April 2020
5
copyright : (C) 2020 by Alexander Bruy
6
email : alexander dot bruy 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 QGSVECTORTILESOURCESELECT_H
19
#define QGSVECTORTILESOURCESELECT_H
20
22
23
#include "ui_qgsvectortilesourceselectbase.h"
24
25
#include "
qgsabstractdatasourcewidget.h
"
26
27
#define SIP_NO_FILE
28
38
class
QgsVectorTileSourceSelect :
public
QgsAbstractDataSourceWidget
,
private
Ui::QgsVectorTileSourceSelectBase
39
{
40
Q_OBJECT
41
42
public
:
44
QgsVectorTileSourceSelect( 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
btnNew_clicked();
53
void
newArcgisVectorTileServerConnection();
55
void
btnEdit_clicked();
57
void
btnDelete_clicked();
59
void
btnSave_clicked();
61
void
btnLoad_clicked();
63
void
cmbConnections_currentTextChanged(
const
QString &text );
64
65
private
:
66
void
populateConnectionList();
67
void
setConnectionListPosition();
68
void
showHelp();
69
};
70
72
73
#endif
// QGSVECTORTILESOURCESELECT_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