QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
qgsarcgisvectortileconnectiondialog.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsarcgisvectortileconnectiondialog.h
3 ---------------------
4 begin : September 2020
5 copyright : (C) 2020 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 QGSARCGISVECTORTILECONNECTIONDIALOG_H
17#define QGSARCGISVECTORTILECONNECTIONDIALOG_H
18
20#define SIP_NO_FILE
21
22#include <QDialog>
23
24#include "ui_qgsarcgisvectortileconnectiondialog.h"
25
26
27class QgsArcgisVectorTileConnectionDialog : public QDialog, public Ui::QgsArcgisVectorTileConnectionDialog
28{
29 Q_OBJECT
30 public:
31 explicit QgsArcgisVectorTileConnectionDialog( QWidget *parent = nullptr );
32
33 void setConnection( const QString &name, const QString &uri );
34
35 QString connectionUri() const;
36 QString connectionName() const;
37
38 void accept() override;
39
40 private slots:
41 void updateOkButtonState();
42
43};
44
46
47#endif // QGSVECTORTILECONNECTIONDIALOG_H