11#ifndef WMSCONNECTIONDIALOG_H
12#define WMSCONNECTIONDIALOG_H
24class QDialogButtonBox;
25class QProgressIndicator;
70 void onConnectClicked();
72 void onCapabilitiesError(
const QString &error);
73 void onLayerSelectionChanged();
74 void onUrlComboChanged(
const QString &
text);
79 void saveRecentUrls();
80 void loadRecentUrls();
82 QComboBox *m_urlCombo =
nullptr;
83 QTreeWidget *m_layerTree =
nullptr;
84 QComboBox *m_styleCombo =
nullptr;
85 QComboBox *m_formatCombo =
nullptr;
86 QComboBox *m_crsCombo =
nullptr;
87 QLabel *m_serviceTitle =
nullptr;
88 QDialogButtonBox *m_buttonBox =
nullptr;
92 QString m_selectedLayerName;
Dialog for connecting to an OGC WMS service and selecting a layer to add.
Definition wmsconnectiondialog.h:54
WMSLayer * createLayer(QObject *project=nullptr) const
Returns a configured WMSLayer instance for the user's selection.
Definition wmsconnectiondialog.cpp:53
~WMSConnectionDialog() override
Definition wmsconnectiondialog.cpp:41
A map layer that fetches and displays images from an OGC WMS service.
Definition wmslayer.h:70
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
QString text
Definition queryparser.cpp:35
Describes one named layer returned by a WMS GetCapabilities response.
Definition wmslayer.h:33
Metadata returned by a WMS GetCapabilities request.
Definition wmslayer.h:48