Dialog to allow the user to configure and save connection information for an HTTP Server for WMS, etc.
More...
#include <qgsnewhttpconnection.h>
|
| QgsNewHttpConnection (QWidget *parent=nullptr, QgsNewHttpConnection::ConnectionTypes types=ConnectionWms, const QString &serviceName SIP_PYARGRENAME(settingsKey)="WMS", const QString &connectionName=QString(), QgsNewHttpConnection::Flags flags=QgsNewHttpConnection::Flags(), Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags) |
| Constructor for QgsNewHttpConnection. More...
|
|
QString | name () const |
| Returns the current connection name. More...
|
|
QString | url () const |
| Returns the current connection url. More...
|
|
Dialog to allow the user to configure and save connection information for an HTTP Server for WMS, etc.
Definition at line 33 of file qgsnewhttpconnection.h.
◆ ConnectionType
Available connection types for configuring in the dialog.
- Since
- QGIS 3.0
Enumerator |
---|
ConnectionWfs | WFS connection.
|
ConnectionWms | WMS connection.
|
ConnectionWcs | WCS connection.
|
ConnectionOther | Other connection type.
|
Definition at line 43 of file qgsnewhttpconnection.h.
◆ Flag
Flags controlling dialog behavior.
- Since
- QGIS 3.0
Enumerator |
---|
FlagShowTestConnection | Display the 'test connection' button.
|
FlagHideAuthenticationGroup | Hide the Authentication group.
|
FlagShowHttpSettings | Display the 'http' group.
|
Definition at line 56 of file qgsnewhttpconnection.h.
◆ WfsVersionIndex
Index of wfsVersionComboBox.
Enumerator |
---|
WFS_VERSION_MAX | |
WFS_VERSION_1_0 | |
WFS_VERSION_1_1 | |
WFS_VERSION_2_0 | |
WFS_VERSION_API_FEATURES_1_0 | |
Definition at line 107 of file qgsnewhttpconnection.h.
◆ QgsNewHttpConnection()
QgsNewHttpConnection::QgsNewHttpConnection |
( |
QWidget * |
parent = nullptr , |
|
|
QgsNewHttpConnection::ConnectionTypes |
types = ConnectionWms , |
|
|
const QString &serviceName |
SIP_PYARGRENAMEsettingsKey = "WMS" , |
|
|
const QString & |
connectionName = QString() , |
|
|
QgsNewHttpConnection::Flags |
flags = QgsNewHttpConnection::Flags() , |
|
|
Qt::WindowFlags |
fl = QgsGuiUtils::ModalDialogFlags |
|
) |
| |
Constructor for QgsNewHttpConnection.
The types argument dictates which connection type settings should be shown in the dialog.
The flags argument allows specifying flags which control the dialog behavior and appearance.
Definition at line 32 of file qgsnewhttpconnection.cpp.
◆ accept
void QgsNewHttpConnection::accept |
( |
| ) |
|
|
overrideslot |
◆ authSettingsWidget()
◆ name()
QString QgsNewHttpConnection::name |
( |
| ) |
const |
◆ testConnectButton()
QPushButton * QgsNewHttpConnection::testConnectButton |
( |
| ) |
|
|
protected |
◆ updateServiceSpecificSettings()
void QgsNewHttpConnection::updateServiceSpecificSettings |
( |
| ) |
|
|
protected |
Triggers a resync of the GUI widgets for the service specific settings (i.e.
WFS and WMS related settings).
- Since
- QGIS 3.0
Definition at line 287 of file qgsnewhttpconnection.cpp.
◆ url()
QString QgsNewHttpConnection::url |
( |
| ) |
const |
◆ urlTrimmed()
QUrl QgsNewHttpConnection::urlTrimmed |
( |
| ) |
const |
|
protected |
◆ validate()
bool QgsNewHttpConnection::validate |
( |
| ) |
|
|
protectedvirtual |
Returns true
if dialog settings are valid, or false
if current settings are not valid and the dialog should not be acceptable.
- Since
- QGIS 3.0
Definition at line 213 of file qgsnewhttpconnection.cpp.
◆ wfsPageSizeLineEdit()
QLineEdit * QgsNewHttpConnection::wfsPageSizeLineEdit |
( |
| ) |
|
|
protected |
◆ wfsPagingEnabledCheckBox()
QCheckBox * QgsNewHttpConnection::wfsPagingEnabledCheckBox |
( |
| ) |
|
|
protected |
◆ wfsSettingsKey()
QString QgsNewHttpConnection::wfsSettingsKey |
( |
const QString & |
base, |
|
|
const QString & |
connectionName |
|
) |
| const |
|
protectedvirtual |
◆ wfsUseGml2EncodingForTransactions()
QCheckBox * QgsNewHttpConnection::wfsUseGml2EncodingForTransactions |
( |
| ) |
|
|
protected |
◆ wfsVersionComboBox()
QComboBox * QgsNewHttpConnection::wfsVersionComboBox |
( |
| ) |
|
|
protected |
◆ wfsVersionDetectButton()
QPushButton * QgsNewHttpConnection::wfsVersionDetectButton |
( |
| ) |
|
|
protected |
◆ wmsSettingsKey()
QString QgsNewHttpConnection::wmsSettingsKey |
( |
const QString & |
base, |
|
|
const QString & |
connectionName |
|
) |
| const |
|
protectedvirtual |
The documentation for this class was generated from the following files: