1
/***************************************************************************
2
qgsnewhttpconnection.cpp - selector for a new HTTP server for WMS, etc.
5
copyright : (C) 2005 by Brendan Morley
6
email : morb at ozemail dot com dot au
7
***************************************************************************/
9
/***************************************************************************
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. *
16
***************************************************************************/
18
#ifndef QGSNEWHTTPCONNECTION_H
19
#define QGSNEWHTTPCONNECTION_H
20
#include "ui_qgsnewhttpconnectionbase.h"
22
#include "qgscontexthelp.h"
24
* \brief Dialog to allow the user to configure and save connection
25
* information for an HTTP Server for WMS, etc.
27
class QgsNewHttpConnection : public QDialog, private Ui::QgsNewHttpConnectionBase
33
QgsNewHttpConnection( QWidget *parent = 0, const QString& baseKey = "/Qgis/connections-wms/", const QString& connName = QString::null, Qt::WFlags fl = QgisGui::ModalDialogFlags );
35
~QgsNewHttpConnection();
37
//! Saves the connection to ~/.qt/qgisrc
40
void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
44
QString mOriginalConnName; //store initial name to delete entry in case of rename
47
#endif // QGSNEWHTTPCONNECTION_H