17 #ifndef QGSDATASOURCEMANAGERDIALOG_H
18 #define QGSDATASOURCEMANAGERDIALOG_H
22 #include "ui_qgsdatasourcemanagerdialog.h"
68 void openPage(
const QString &pageName );
81 void rasterLayerAdded( QString
const &uri, QString
const &baseName, QString
const &providerKey );
87 void rasterLayersAdded(
const QStringList &layersList );
89 void vectorLayerAdded(
const QString &vectorLayerPath,
const QString &baseName,
const QString &providerKey );
91 void vectorLayersAdded(
const QStringList &layerQStringList,
const QString &enc,
const QString &dataSourceType );
93 void setPreviousPage();
107 void showEvent( QShowEvent *event )
override;
115 void addRasterLayers(
const QStringList &layersList );
117 void addRasterLayer(
const QString &uri,
const QString &baseName,
const QString &providerKey );
120 void addVectorLayer(
const QString &vectorLayerPath,
const QString &baseName,
const QString &providerKey );
126 void addMeshLayer(
const QString &uri,
const QString &baseName,
const QString &providerKey );
132 void addVectorTileLayer(
const QString &uri,
const QString &baseName );
138 void addPointCloudLayer(
const QString &pointCloudLayerPath,
const QString &baseName,
const QString &providerKey );
141 void replaceSelectedVectorLayer(
const QString &oldId,
const QString &uri,
const QString &layerName,
const QString &provider );
143 void addVectorLayers(
const QStringList &layerQStringList,
const QString &enc,
const QString &dataSourceType );
146 void showStatusMessage(
const QString &message );
148 void addDatabaseLayers(
const QStringList &layerPathList,
const QString &providerKey );
150 void openFile(
const QString &fileName,
const QString &fileTypeHint = QString() );
154 void updateProjectHome();
161 void connectionsChanged();
167 void providerDialogsRefreshRequested();
170 void addProviderDialog(
QgsAbstractDataSourceWidget *dlg,
const QString &providerKey,
const QString &providerName,
const QIcon &icon,
const QString &toolTip = QString() );
172 Ui::QgsDataSourceManagerDialog *ui =
nullptr;
175 QStringList mPageNames;
183 #endif // QGSDATASOURCEMANAGERDIALOG_H