17 #ifndef QGSDATASOURCEMANAGERDIALOG_H
18 #define QGSDATASOURCEMANAGERDIALOG_H
22 #include "ui_qgsdatasourcemanagerdialog.h"
68 void openPage(
const QString &pageName );
83 void rasterLayerAdded( QString
const &uri, QString
const &baseName, QString
const &providerKey );
85 void vectorLayerAdded(
const QString &vectorLayerPath,
const QString &baseName,
const QString &providerKey );
87 void vectorLayersAdded(
const QStringList &layerQStringList,
const QString &enc,
const QString &dataSourceType );
89 void setPreviousPage();
103 void showEvent( QShowEvent *event )
override;
107 void addRasterLayer(
const QString &uri,
const QString &baseName,
const QString &providerKey );
109 void addRasterLayer();
111 void addVectorLayer(
const QString &vectorLayerPath,
const QString &baseName,
const QString &providerKey );
117 void addMeshLayer(
const QString &uri,
const QString &baseName,
const QString &providerKey );
123 void addVectorTileLayer(
const QString &uri,
const QString &baseName );
126 void replaceSelectedVectorLayer(
const QString &oldId,
const QString &uri,
const QString &layerName,
const QString &provider );
128 void addVectorLayers(
const QStringList &layerQStringList,
const QString &enc,
const QString &dataSourceType );
131 void showStatusMessage(
const QString &message );
133 void addDatabaseLayers(
const QStringList &layerPathList,
const QString &providerKey );
135 void openFile(
const QString &fileName,
const QString &fileTypeHint = QString() );
139 void updateProjectHome();
146 void connectionsChanged();
152 void providerDialogsRefreshRequested();
155 void addProviderDialog(
QgsAbstractDataSourceWidget *dlg,
const QString &providerKey,
const QString &providerName,
const QIcon &icon,
const QString &toolTip = QString() );
157 Ui::QgsDataSourceManagerDialog *ui =
nullptr;
160 QStringList mPageNames;
167 #endif // QGSDATASOURCEMANAGERDIALOG_H