QGIS API Documentation
2.4.0-Chugiak
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
gui
qgsnewhttpconnection.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsnewhttpconnection.cpp - selector for a new HTTP server for WMS, etc.
3
-------------------
4
begin : 3 April 2005
5
copyright : (C) 2005 by Brendan Morley
6
email : morb at ozemail dot com dot au
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
#ifndef QGSNEWHTTPCONNECTION_H
18
#define QGSNEWHTTPCONNECTION_H
19
#include "ui_qgsnewhttpconnectionbase.h"
20
#include "
qgisgui.h
"
21
#include "
qgscontexthelp.h
"
26
class
GUI_EXPORT
QgsNewHttpConnection
:
public
QDialog,
private
Ui::QgsNewHttpConnectionBase
27
{
28
Q_OBJECT
29
30
public
:
32
QgsNewHttpConnection
( QWidget *parent = 0,
const
QString& baseKey =
"/Qgis/connections-wms/"
,
const
QString& connName = QString::null, Qt::WindowFlags fl =
QgisGui::ModalDialogFlags
);
34
~
QgsNewHttpConnection
();
35
public
slots:
37
void
accept();
38
39
void
on_txtName_textChanged(
const
QString & );
40
41
void
on_txtUrl_textChanged(
const
QString & );
42
43
void
on_buttonBox_helpRequested
() {
QgsContextHelp::run
( metaObject()->className() ); }
44
45
private
:
46
QString
mBaseKey
;
47
QString
mCredentialsBaseKey
;
48
QString
mOriginalConnName
;
//store initial name to delete entry in case of rename
49
};
50
51
#endif // QGSNEWHTTPCONNECTION_H
QgisGui::ModalDialogFlags
static const Qt::WindowFlags ModalDialogFlags
Definition:
qgisgui.h:47
qgscontexthelp.h
QgsNewHttpConnection::mBaseKey
QString mBaseKey
Definition:
qgsnewhttpconnection.h:46
QgsNewHttpConnection::mOriginalConnName
QString mOriginalConnName
Definition:
qgsnewhttpconnection.h:48
QgsNewHttpConnection::on_buttonBox_helpRequested
void on_buttonBox_helpRequested()
Definition:
qgsnewhttpconnection.h:43
QgsNewHttpConnection
Dialog to allow the user to configure and save connection information for an HTTP Server for WMS...
Definition:
qgsnewhttpconnection.h:26
QgsNewHttpConnection::mCredentialsBaseKey
QString mCredentialsBaseKey
Definition:
qgsnewhttpconnection.h:47
qgisgui.h
QgsContextHelp::run
static void run(QString context)
Definition:
qgscontexthelp.cpp:32
Generated on Wed Mar 18 2015 11:40:14 for QGIS API Documentation by
1.8.9.1