20 #ifndef QGSOWSSOURCESELECT_H
21 #define QGSOWSSOURCESELECT_H
22 #include "ui_qgsowssourceselectbase.h"
29 #include <QStringList>
30 #include <QPushButton>
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();
254 #endif // QGSOWSSOURCESELECT_H