QGIS API Documentation  3.6.0-Noosa (5873452)
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 
36 class GUI_EXPORT QgsNewOgrConnection : public QDialog, private Ui::QgsNewOgrConnectionBase
37 {
38  Q_OBJECT
39 
40  public:
42  QgsNewOgrConnection( QWidget *parent = nullptr, const QString &connType = QString(), const QString &connName = QString(), Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
43 
44  ~QgsNewOgrConnection() override;
46  void testConnection();
47 
52  Q_DECL_DEPRECATED void showHelp() SIP_DEPRECATED;
53 
54  public slots:
55  void accept() override;
56 
57  private slots:
58  void btnConnect_clicked();
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:99