20#ifndef QGSOWSSOURCESELECT_H
21#define QGSOWSSOURCESELECT_H
22#include "ui_qgsowssourceselectbase.h"
31#include <QNetworkRequest>
70 void reset()
override;
77 void showError(
const QString &title,
const QString &format,
const QString &error );
80 void showStatusMessage(
const QString &message );
88 virtual QList<QgsOWSSourceSelect::SupportedFormat> providerFormats();
91 virtual QStringList selectedLayersFormats();
94 virtual QStringList selectedLayersCrses();
97 virtual QStringList selectedLayersTimes();
102 void populateConnectionList();
105 void populateFormats();
117 void populateTimes();
126 QString connectionInfo();
129 void setConnectionListPosition();
132 void addDefaultServers();
140 virtual void populateLayerList();
147 const QStringList &names,
148 QMap<int, QgsTreeWidgetItem *> &items,
149 int &layerAndStyleCount,
150 const QMap<int, int> &layerParents,
154 QString descriptionForAuthId(
const QString &authId );
161 virtual void enableLayersForCrs( QTreeWidgetItem *item );
164 QString selectedFormat();
167 QString selectedCrs();
170 QString selectedTime();
173 QNetworkRequest::CacheLoadControl selectedCacheLoadControl();
182 void prepareExtent();
185 QTableWidgetItem *mCurrentTileset =
nullptr;
199 void mNewButton_clicked();
201 void mEditButton_clicked();
203 void mDeleteButton_clicked();
205 void mSaveButton_clicked();
207 void mLoadButton_clicked();
213 void mConnectButton_clicked();
216 void mChangeCRSButton_clicked();
219 virtual void mLayersTreeWidget_itemSelectionChanged();
222 void mConnectionsComboBox_activated(
int );
225 void mAddDefaultButton_clicked();
231 QString mSelectedCRS;
234 QSet<QString> mSelectedLayersCRSs;
237 QList<SupportedFormat> mProviderFormats;
240 QMap<QString, QString> mMimeLabelMap;
246 void mTilesetsTableWidget_itemClicked( QTableWidgetItem *item );
247 void mLayerUpButton_clicked();
248 void mLayerDownButton_clicked();
249 virtual void updateButtons();
Abstract base class for spatial data provider implementations.
Class for storing the component parts of a RDBMS data source URI (e.g.
Map canvas is a class for displaying all GIS data types on a canvas.
Dialog to create connections and add layers WCS etc.
QString mService
Service name.
QString mLastLayerName
layer name derived from latest layer selection (updated as long it's not edited manually)
QString mConnName
Name for selected connection.
QgsDataSourceUri mUri
URI for selected connection.
QString mConnectionInfo
Connection info for selected connection.
QList< QTreeWidgetItem * > mCurrentSelection
QMap< QString, QString > mCrsNames
WidgetMode
Different ways a source select dialog can be used.