QGIS API Documentation
3.99.0-Master (0c964c3d988)
Loading...
Searching...
No Matches
src
gui
vectortile
qgsvectortileconnectiondialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsvectortileconnectiondialog.h
3
---------------------
4
begin : March 2020
5
copyright : (C) 2020 by Martin Dobias
6
email : wonder dot sk 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 QGSVECTORTILECONNECTIONDIALOG_H
17
#define QGSVECTORTILECONNECTIONDIALOG_H
18
20
21
#include "ui_qgsvectortileconnectiondialog.h"
22
23
#include "
qgssettingsentryenumflag.h
"
24
25
#include <QDialog>
26
27
#define SIP_NO_FILE
28
29
class
QgsVectorTileConnectionDialog :
public
QDialog,
public
Ui::QgsVectorTileConnectionDialog
30
{
31
Q_OBJECT
32
public
:
33
enum class
LoadingMode :
int
34
{
35
Url,
36
Style
37
};
38
Q_ENUM( LoadingMode )
39
40
static
const
QgsSettingsEntryEnumFlag<QgsVectorTileConnectionDialog::LoadingMode> *settingsLastLoadingMode;
41
42
explicit
QgsVectorTileConnectionDialog( QWidget *parent =
nullptr
);
43
44
void
setConnection(
const
QString &name,
const
QString &uri );
45
46
QString connectionUri()
const
;
47
QString connectionName()
const
;
48
49
void
accept()
override
;
50
51
private
slots:
52
void
updateOkButtonState();
53
};
54
56
57
#endif
// QGSVECTORTILECONNECTIONDIALOG_H
qgssettingsentryenumflag.h
Generated on
for QGIS API Documentation by
1.15.0