20 #ifndef QGSOWSSOURCESELECT_H 21 #define QGSOWSSOURCESELECT_H 22 #include "ui_qgsowssourceselectbase.h" 29 #include <QStringList> 30 #include <QPushButton> 31 #include <QNetworkRequest> 71 void refresh()
override;
75 void showError(
const QString &title,
const QString &format,
const QString &error );
78 void showStatusMessage(
const QString &message );
86 virtual QList<QgsOWSSourceSelect::SupportedFormat> providerFormats();
89 virtual QStringList selectedLayersFormats();
92 virtual QStringList selectedLayersCrses();
95 virtual QStringList selectedLayersTimes();
100 void populateConnectionList();
103 void populateFormats();
115 void populateTimes();
124 QString connectionInfo();
127 void setConnectionListPosition();
130 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 void addWmsListRow(
const QDomElement &item,
int row );
162 void addWmsListItem(
const QDomElement &el,
int row,
int column );
164 virtual void enableLayersForCrs( QTreeWidgetItem *item );
167 QString selectedFormat();
170 QString selectedCrs();
173 QString selectedTime();
176 QNetworkRequest::CacheLoadControl selectedCacheLoadControl();
179 QTableWidgetItem *mCurrentTileset =
nullptr;
193 void mNewButton_clicked();
195 void mEditButton_clicked();
197 void mDeleteButton_clicked();
199 void mSaveButton_clicked();
201 void mLoadButton_clicked();
207 void mConnectButton_clicked();
209 void searchFinished();
212 void mChangeCRSButton_clicked();
215 virtual void mLayersTreeWidget_itemSelectionChanged();
218 void mConnectionsComboBox_activated(
int );
221 void mAddDefaultButton_clicked();
226 QString mSelectedCRS;
229 QSet<QString> mSelectedLayersCRSs;
232 QList<SupportedFormat> mProviderFormats;
235 QMap<QString, QString> mMimeLabelMap;
238 void mSearchButton_clicked();
239 void mSearchTableWidget_itemSelectionChanged();
240 void mTilesetsTableWidget_itemClicked( QTableWidgetItem *item );
241 void mLayerUpButton_clicked();
242 void mLayerDownButton_clicked();
243 virtual void updateButtons();
246 #endif // QGSOWSSOURCESELECT_H WidgetMode
Different ways a source select dialog can be used (embedded is for the data source manager dialog) ...
QMap< QString, QString > mCrsNames
Abstract base class for spatial data provider implementations.
QString mLastLayerName
layer name derived from latest layer selection (updated as long it's not edited manually) ...
QString mConnectionInfo
Connection info for selected connection.
Dialog to create connections and add layers WCS etc.
QString mService
Service name.
Class for storing the component parts of a PostgreSQL/RDBMS datasource URI.
QList< QTreeWidgetItem * > mCurrentSelection
QgsDataSourceUri mUri
URI for selected connection.
QString mConnName
Name for selected connection.