20 #ifndef QGSOWSSOURCESELECT_H
21 #define QGSOWSSOURCESELECT_H
22 #include "ui_qgsowssourceselectbase.h"
29 #include <QStringList>
30 #include <QPushButton>
31 #include <QNetworkRequest>
69 void reset()
override;
73 void showError(
const QString &title,
const QString &format,
const QString &error );
76 void showStatusMessage(
const QString &message );
84 virtual QList<QgsOWSSourceSelect::SupportedFormat> providerFormats();
87 virtual QStringList selectedLayersFormats();
90 virtual QStringList selectedLayersCrses();
93 virtual QStringList selectedLayersTimes();
98 void populateConnectionList();
101 void populateFormats();
113 void populateTimes();
122 QString connectionInfo();
125 void setConnectionListPosition();
128 void addDefaultServers();
138 virtual void populateLayerList();
145 const QStringList &names,
146 QMap<int, QgsTreeWidgetItem *> &items,
147 int &layerAndStyleCount,
148 const QMap<int, int> &layerParents,
152 QString descriptionForAuthId(
const QString &authId );
159 virtual void enableLayersForCrs( QTreeWidgetItem *item );
162 QString selectedFormat();
165 QString selectedCrs();
168 QString selectedTime();
171 QNetworkRequest::CacheLoadControl selectedCacheLoadControl();
174 QTableWidgetItem *mCurrentTileset =
nullptr;
188 void mNewButton_clicked();
190 void mEditButton_clicked();
192 void mDeleteButton_clicked();
194 void mSaveButton_clicked();
196 void mLoadButton_clicked();
202 void mConnectButton_clicked();
205 void mChangeCRSButton_clicked();
208 virtual void mLayersTreeWidget_itemSelectionChanged();
211 void mConnectionsComboBox_activated(
int );
214 void mAddDefaultButton_clicked();
219 QString mSelectedCRS;
222 QSet<QString> mSelectedLayersCRSs;
225 QList<SupportedFormat> mProviderFormats;
228 QMap<QString, QString> mMimeLabelMap;
231 void mTilesetsTableWidget_itemClicked( QTableWidgetItem *item );
232 void mLayerUpButton_clicked();
233 void mLayerDownButton_clicked();
234 virtual void updateButtons();
237 #endif // QGSOWSSOURCESELECT_H