QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
qgsnewogrconnection.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsnewogrconnection.h - description
3 -------------------
4 begin : Mon Jan 2 2009
5 copyright : (C) 2009 by Godofredo Contreras Nava
6 email : frdcn at hotmail.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 QGSNEWOGRCONNECTION_H
19#define QGSNEWOGRCONNECTION_H
20
21#define SIP_NO_FILE
22
23#include "ui_qgsnewogrconnectionbase.h"
24#include "qgsguiutils.h"
25#include "qgis_gui.h"
26
27
35class GUI_EXPORT QgsNewOgrConnection : public QDialog, private Ui::QgsNewOgrConnectionBase
36{
37 Q_OBJECT
38
39 public:
41 QgsNewOgrConnection( QWidget *parent = nullptr, const QString &connType = QString(), const QString &connName = QString(), Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
42
44 void testConnection();
45
50 Q_DECL_DEPRECATED void showHelp() SIP_DEPRECATED;
51
52 public slots:
53 void accept() override;
54
55 private slots:
56 void btnConnect_clicked();
58 void updateOkButtonState();
59
60 private:
61 QString mOriginalConnName;
62};
63
64#endif // QGSNEWOGRCONNECTIONBASE_H
Dialog to allow the user to define, test and save connection information for OGR databases.
#define SIP_DEPRECATED
Definition qgis_sip.h:106