QGIS API Documentation
3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
src
gui
ogr
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
25
#include "qgis_gui.h"
26
#include "
qgsguiutils.h
"
27
35
class
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
QgsNewOgrConnection::testConnection
void testConnection()
Tests the connection using the parameters supplied.
Definition
qgsnewogrconnection.cpp:101
QgsNewOgrConnection::accept
void accept() override
Autoconnected slots.
Definition
qgsnewogrconnection.cpp:134
QgsNewOgrConnection::showHelp
Q_DECL_DEPRECATED void showHelp() SIP_DEPRECATED
Show the help.
Definition
qgsnewogrconnection.cpp:121
QgsNewOgrConnection::QgsNewOgrConnection
QgsNewOgrConnection(QWidget *parent=nullptr, const QString &connType=QString(), const QString &connName=QString(), Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
Constructor.
Definition
qgsnewogrconnection.cpp:36
SIP_DEPRECATED
#define SIP_DEPRECATED
Definition
qgis_sip.h:114
qgsguiutils.h
Generated on
for QGIS API Documentation by
1.15.0