QGIS/python/gui/qgsnewhttpconnection.sip

65 lines
2.2 KiB
Plaintext

/************************************************************************
* 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
{
%Docstring
Dialog to allow the user to configure and save connection
information for an HTTP Server for WMS, etc.
%End
%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 );
%Docstring
Constructor for QgsNewHttpConnection.
The ``types`` argument dictates which connection type settings should be
shown in the dialog.
%End
public slots:
virtual void accept();
void on_txtName_textChanged( const QString & );
void on_txtUrl_textChanged( const QString & );
};
QFlags<QgsNewHttpConnection::ConnectionType> operator|(QgsNewHttpConnection::ConnectionType f1, QFlags<QgsNewHttpConnection::ConnectionType> f2);
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsnewhttpconnection.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/