2017-06-07 16:16:21 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsnewhttpconnection.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-08-09 09:27:29 +02:00
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
class QgsNewHttpConnection : QDialog
|
|
|
|
{
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
|
|
|
Dialog to allow the user to configure and save connection
|
|
|
|
information for an HTTP Server for WMS, etc.
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
|
2017-06-07 16:16:21 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsnewhttpconnection.h"
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
public:
|
2017-09-11 12:35:28 +10:00
|
|
|
|
|
|
|
enum ConnectionType
|
|
|
|
{
|
|
|
|
ConnectionWfs,
|
|
|
|
ConnectionWms,
|
|
|
|
ConnectionWcs,
|
|
|
|
ConnectionOther,
|
|
|
|
};
|
|
|
|
typedef QFlags<QgsNewHttpConnection::ConnectionType> ConnectionTypes;
|
|
|
|
|
|
|
|
|
|
|
|
QgsNewHttpConnection( QWidget *parent /TransferThis/ = 0,
|
|
|
|
QgsNewHttpConnection::ConnectionTypes types = ConnectionWms,
|
|
|
|
const QString &baseKey = "qgis/connections-wms/",
|
|
|
|
const QString &connectionName = QString(),
|
|
|
|
Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
2017-09-11 12:35:28 +10:00
|
|
|
Constructor for QgsNewHttpConnection.
|
|
|
|
|
|
|
|
The ``types`` argument dictates which connection type settings should be
|
|
|
|
shown in the dialog.
|
2017-06-07 16:16:21 +02:00
|
|
|
%End
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
public slots:
|
2017-06-07 16:16:21 +02:00
|
|
|
virtual void accept();
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
void on_txtName_textChanged( const QString & );
|
2014-01-26 18:35:21 +01:00
|
|
|
void on_txtUrl_textChanged( const QString & );
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
2017-06-07 16:16:21 +02:00
|
|
|
|
2017-09-11 12:35:28 +10:00
|
|
|
QFlags<QgsNewHttpConnection::ConnectionType> operator|(QgsNewHttpConnection::ConnectionType f1, QFlags<QgsNewHttpConnection::ConnectionType> f2);
|
|
|
|
|
|
|
|
|
2017-06-07 16:16:21 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsnewhttpconnection.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|