QGIS/python/gui/qgsnewhttpconnection.sip

65 lines
2.2 KiB
Plaintext
Raw Normal View History

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 *
************************************************************************/
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.
%End
2017-06-07 16:16:21 +02:00
%TypeHeaderCode
#include "qgsnewhttpconnection.h"
%End
public:
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
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
public slots:
2017-06-07 16:16:21 +02:00
virtual void accept();
void on_txtName_textChanged( const QString & );
2014-01-26 18:35:21 +01:00
void on_txtUrl_textChanged( const QString & );
};
2017-06-07 16:16:21 +02: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 *
************************************************************************/