20 #ifndef QGSOWSSOURCESELECT_H 21 #define QGSOWSSOURCESELECT_H 22 #include "ui_qgsowssourceselectbase.h" 30 #include <QStringList> 31 #include <QPushButton> 32 #include <QNetworkRequest> 72 void refresh()
override;
76 void showError(
const QString &title,
const QString &format,
const QString &error );
79 void showStatusMessage(
const QString &message );
87 virtual QList<QgsOWSSourceSelect::SupportedFormat> providerFormats();
90 virtual QStringList selectedLayersFormats();
93 virtual QStringList selectedLayersCrses();
96 virtual QStringList selectedLayersTimes();
101 void populateConnectionList();
104 void populateFormats();
116 void populateTimes();
125 QString connectionInfo();
128 void setConnectionListPosition();
131 void addDefaultServers();
141 virtual void populateLayerList();
148 const QStringList &names,
149 QMap<int, QgsTreeWidgetItem *> &items,
150 int &layerAndStyleCount,
151 const QMap<int, int> &layerParents,
155 QString descriptionForAuthId(
const QString &authId );
162 void addWmsListRow(
const QDomElement &item,
int row );
163 void addWmsListItem(
const QDomElement &el,
int row,
int column );
165 virtual void enableLayersForCrs( QTreeWidgetItem *item );
168 QString selectedFormat();
171 QString selectedCrs();
174 QString selectedTime();
177 QNetworkRequest::CacheLoadControl selectedCacheLoadControl();
180 QTableWidgetItem *mCurrentTileset =
nullptr;
194 void mNewButton_clicked();
196 void mEditButton_clicked();
198 void mDeleteButton_clicked();
200 void mSaveButton_clicked();
202 void mLoadButton_clicked();
208 void mConnectButton_clicked();
210 void searchFinished();
213 void mChangeCRSButton_clicked();
216 virtual void mLayersTreeWidget_itemSelectionChanged();
219 void mConnectionsComboBox_activated(
int );
222 void mAddDefaultButton_clicked();
227 QString mSelectedCRS;
230 QSet<QString> mSelectedLayersCRSs;
233 QList<SupportedFormat> mProviderFormats;
236 QMap<QString, QString> mMimeLabelMap;
239 void mSearchButton_clicked();
240 void mSearchTableWidget_itemSelectionChanged();
241 void mTilesetsTableWidget_itemClicked( QTableWidgetItem *item );
242 void mLayerUpButton_clicked();
243 void mLayerDownButton_clicked();
244 virtual void updateButtons();
247 #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.