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();
142 virtual void populateLayerList();
149 const QStringList &names,
150 QMap<int, QgsTreeWidgetItem *> &items,
151 int &layerAndStyleCount,
152 const QMap<int, int> &layerParents,
156 QString descriptionForAuthId(
const QString &authId );
163 virtual void enableLayersForCrs( QTreeWidgetItem *item );
166 QString selectedFormat();
169 QString selectedCrs();
172 QString selectedTime();
175 QNetworkRequest::CacheLoadControl selectedCacheLoadControl();
184 void prepareExtent();
187 QTableWidgetItem *mCurrentTileset =
nullptr;
201 void mNewButton_clicked();
203 void mEditButton_clicked();
205 void mDeleteButton_clicked();
207 void mSaveButton_clicked();
209 void mLoadButton_clicked();
215 void mConnectButton_clicked();
218 void mChangeCRSButton_clicked();
221 virtual void mLayersTreeWidget_itemSelectionChanged();
224 void mConnectionsComboBox_activated(
int );
227 void mAddDefaultButton_clicked();
233 QString mSelectedCRS;
236 QSet<QString> mSelectedLayersCRSs;
239 QList<SupportedFormat> mProviderFormats;
242 QMap<QString, QString> mMimeLabelMap;
248 void mTilesetsTableWidget_itemClicked( QTableWidgetItem *item );
249 void mLayerUpButton_clicked();
250 void mLayerDownButton_clicked();
251 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.