17 #ifndef QGSDATASOURCEMANAGERDIALOG_H 18 #define QGSDATASOURCEMANAGERDIALOG_H 22 #include "ui_qgsdatasourcemanagerdialog.h" 68 void openPage(
const QString &pageName );
76 void setCurrentPage(
int index );
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 );
119 void replaceSelectedVectorLayer(
const QString &oldId,
const QString &uri,
const QString &layerName,
const QString &provider );
121 void addVectorLayers(
const QStringList &layerQStringList,
const QString &enc,
const QString &dataSourceType );
124 void showStatusMessage(
const QString &message );
126 void addDatabaseLayers(
const QStringList &layerPathList,
const QString &providerKey );
128 void openFile(
const QString &fileName,
const QString &fileTypeHint = QString() );
132 void updateProjectHome();
139 void connectionsChanged();
145 void providerDialogsRefreshRequested();
148 void addProviderDialog(
QgsAbstractDataSourceWidget *dlg,
const QString &providerKey,
const QString &providerName,
const QIcon &icon,
const QString &toolTip = QString() );
150 Ui::QgsDataSourceManagerDialog *ui =
nullptr;
153 QStringList mPageNames;
160 #endif // QGSDATASOURCEMANAGERDIALOG_H
This class provides qgis with the ability to render raster datasets onto the mapcanvas.
The QgsDataSourceManagerDialog class embeds the browser panel and all the provider dialogs...
A bar for displaying non-blocking messages to the user.
A model for showing available data sources and other items in a structured tree.
Map canvas is a class for displaying all GIS data types on a canvas.
A base dialog for options and properties dialogs that offers vertical tabs.
void showEvent(QShowEvent *e) override
QList< QgsMimeDataUtils::Uri > UriList