17 #ifndef QGSDATASOURCEMANAGERDIALOG_H 18 #define QGSDATASOURCEMANAGERDIALOG_H 22 #include "ui_qgsdatasourcemanagerdialog.h" 68 void openPage(
const QString &pageName );
76 void setCurrentPage(
int index );
82 void rasterLayerAdded( QString
const &uri, QString
const &baseName, QString
const &providerKey );
84 void vectorLayerAdded(
const QString &vectorLayerPath,
const QString &baseName,
const QString &providerKey );
86 void vectorLayersAdded(
const QStringList &layerQStringList,
const QString &enc,
const QString &dataSourceType );
88 void setPreviousPage();
93 void showEvent( QShowEvent *event )
override;
97 void addRasterLayer(
const QString &uri,
const QString &baseName,
const QString &providerKey );
99 void addRasterLayer();
101 void addVectorLayer(
const QString &vectorLayerPath,
const QString &baseName,
const QString &providerKey );
107 void addMeshLayer(
const QString &uri,
const QString &baseName,
const QString &providerKey );
109 void replaceSelectedVectorLayer(
const QString &oldId,
const QString &uri,
const QString &layerName,
const QString &provider );
111 void addVectorLayers(
const QStringList &layerQStringList,
const QString &enc,
const QString &dataSourceType );
114 void showStatusMessage(
const QString &message );
116 void addDatabaseLayers(
const QStringList &layerPathList,
const QString &providerKey );
118 void openFile(
const QString &fileName,
const QString &fileTypeHint = QString() );
122 void updateProjectHome();
129 void connectionsChanged();
135 void providerDialogsRefreshRequested();
138 void addProviderDialog(
QgsAbstractDataSourceWidget *dlg,
const QString &providerKey,
const QString &providerName,
const QIcon &icon,
const QString &toolTip = QString() );
140 Ui::QgsDataSourceManagerDialog *ui =
nullptr;
143 QStringList mPageNames;
150 #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.
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
A model for showing available data sources and other items in a structured tree.