20 #ifndef QGSOWSSOURCESELECT_H
21 #define QGSOWSSOURCESELECT_H
22 #include "ui_qgsowssourceselectbase.h"
29 #include <QStringList>
30 #include <QPushButton>
31 #include <QNetworkRequest>
70 void on_mNewButton_clicked();
72 void on_mEditButton_clicked();
74 void on_mDeleteButton_clicked();
76 void on_mSaveButton_clicked();
78 void on_mLoadButton_clicked();
83 void on_mConnectButton_clicked();
86 virtual void addClicked();
88 void searchFinished();
91 void on_mChangeCRSButton_clicked();
94 virtual void on_mLayersTreeWidget_itemSelectionChanged();
97 void showStatusMessage(
const QString &theMessage );
100 void showError(
const QString &theTitle,
const QString &theFormat,
const QString &theError );
103 void on_mConnectionsComboBox_activated(
int );
106 void on_mAddDefaultButton_clicked();
111 void addRasterLayer(
const QString & rasterLayerPath,
112 const QString & baseName,
113 const QString & providerKey );
114 void connectionsChanged();
121 virtual QList<SupportedFormat> providerFormats();
124 virtual QStringList selectedLayersFormats();
127 virtual QStringList selectedLayersCRSs();
130 virtual QStringList selectedLayersTimes();
135 void populateConnectionList();
138 void populateFormats();
150 void populateTimes();
159 QString connectionInfo();
162 void setConnectionListPosition();
165 void addDefaultServers();
182 virtual void populateLayerList();
187 const QStringList &names,
188 QMap<int, QgsNumericSortTreeWidgetItem *> &items,
189 int &layerAndStyleCount,
190 const QMap<int, int> &layerParents,
191 const QMap<int, QStringList> &layerParentNames );
194 QString descriptionForAuthId( QString authId );
203 void addWMSListRow(
const QDomElement& item,
int row );
204 void addWMSListItem(
const QDomElement& el,
int row,
int column );
206 virtual void enableLayersForCrs( QTreeWidgetItem *item );
209 QString selectedFormat();
212 QString selectedCRS();
215 QString selectedTime();
218 QNetworkRequest::CacheLoadControl selectedCacheLoadControl();
234 QString mSelectedCRS;
237 QSet<QString> mSelectedLayersCRSs;
240 QList<SupportedFormat> mProviderFormats;
243 QMap<QString, QString> mMimeLabelMap;
246 void on_mSearchButton_clicked();
247 void on_mSearchTableWidget_itemSelectionChanged();
248 void on_mTilesetsTableWidget_itemClicked( QTableWidgetItem *item );
249 void on_mLayerUpButton_clicked();
250 void on_mLayerDownButton_clicked();
251 virtual void updateButtons();
254 #endif // QGSOWSSOURCESELECT_H