18#ifndef QGSNEWHTTPCONNECTION_H
19#define QGSNEWHTTPCONNECTION_H
22#include "ui_qgsnewhttpconnectionbase.h"
44 ConnectionWfs = 1 << 1,
45 ConnectionWms = 1 << 2,
46 ConnectionWcs = 1 << 3,
47 ConnectionOther = 1 << 4,
56 FlagShowTestConnection = 1 << 1,
57 FlagHideAuthenticationGroup = 1 << 2,
58 FlagShowHttpSettings = 1 << 3,
74 const QString &connectionName = QString(),
76 Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
90 void accept()
override;
94 void nameChanged(
const QString & );
95 void urlChanged(
const QString & );
96 void updateOkButtonState();
97 void wfsVersionCurrentIndexChanged(
int index );
98 void wfsFeaturePagingCurrentIndexChanged(
int index );
109 WFS_VERSION_API_FEATURES_1_0 = 4,
126 virtual bool validate();
131 QPushButton *testConnectButton();
143 QPushButton *wfsVersionDetectButton()
SIP_SKIP;
149 QComboBox *wfsVersionComboBox()
SIP_SKIP;
155 QComboBox *wfsPagingComboBox()
SIP_SKIP;
161 QCheckBox *wfsUseGml2EncodingForTransactions()
SIP_SKIP;
167 QLineEdit *wfsPageSizeLineEdit()
SIP_SKIP;
179 virtual QString wfsSettingsKey( const QString &base, const QString &connectionName ) const;
185 virtual QString wmsSettingsKey( const QString &base, const QString &connectionName ) const;
191 void updateServiceSpecificSettings();
195 ConnectionTypes mTypes = ConnectionWms;
197 QString mServiceName;
198 QString mOriginalConnName;
Dialog to allow the user to configure and save connection information for an HTTP Server for WMS,...
Flag
Flags controlling dialog behavior.
WfsVersionIndex
Index of wfsVersionComboBox.
WfsFeaturePagingIndex
Index of wfsFeaturePaging.
ConnectionType
Available connection types for configuring in the dialog.
QFlags< ConnectionType > ConnectionTypes
#define SIP_ENUM_BASETYPE(type)
#define SIP_PYARGRENAME(pyname)
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsTextRendererUtils::CurvedTextFlags)