QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
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 );
111 void addVectorLayer(
const QString &vectorLayerPath,
const QString &baseName,
const QString &providerKey );
117 void addMeshLayer(
const QString &uri,
const QString &baseName,
const QString &providerKey );
128 void addVectorLayers(
const QStringList &layerQStringList,
const QString &enc,
const QString &dataSourceType );
135 void openFile(
const QString &fileName,
const QString &fileTypeHint = QString() );
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
A base dialog for options and properties dialogs that offers vertical tabs.
void showStatusMessage(const QString &message)
Emitted when a status message needs to be shown: for signal forwarding to QgisApp.
void addRasterLayer(const QString &uri, const QString &baseName, const QString &providerKey)
Emitted when a raster layer was selected for addition: for signal forwarding to QgisApp.
Map canvas is a class for displaying all GIS data types on a canvas.
void addVectorTileLayer(const QString &uri, const QString &baseName)
Emitted when a vector tile layer was selected for addition: for signal forwarding to QgisApp.
QList< QgsMimeDataUtils::Uri > UriList
void setCurrentPage(const QString &page)
Sets the dialog page (by object name) to show.
void connectionsChanged()
Emitted when a connection has changed inside the provider dialogs This signal is normally forwarded t...
void addDatabaseLayers(const QStringList &layerPathList, const QString &providerKey)
Emitted when a DB layer was selected for addition: for signal forwarding to QgisApp.
void replaceSelectedVectorLayer(const QString &oldId, const QString &uri, const QString &layerName, const QString &provider)
Replace the selected layer by a vector layer defined by uri, layer name, data source uri.
void handleDropUriList(const QgsMimeDataUtils::UriList &)
Emitted when drop uri list needs to be handled from the browser.
void addVectorLayer(const QString &vectorLayerPath, const QString &baseName, const QString &providerKey)
Emitted when a vector layer was selected for addition: for signal forwarding to QgisApp.
A bar for displaying non-blocking messages to the user.
void addRasterLayer()
Emitted when the user wants to select a raster layer: for signal forwarding to QgisApp.
Represents a raster layer.
void updateProjectHome()
Update project home directory.
void providerDialogsRefreshRequested()
One or more provider connections have changed and the dialogs should be refreshed.
void addVectorLayers(const QStringList &layerQStringList, const QString &enc, const QString &dataSourceType)
Emitted when a one or more layer were selected for addition: for signal forwarding to QgisApp.
void showEvent(QShowEvent *e) override
The QgsDataSourceManagerDialog class embeds the browser panel and all the provider dialogs.
A model for showing available data sources and other items in a structured tree.
void addMeshLayer(const QString &uri, const QString &baseName, const QString &providerKey)
Emitted when a mesh layer was selected for addition: for signal forwarding to QgisApp.
void openFile(const QString &fileName, const QString &fileTypeHint=QString())
Emitted when a file needs to be opened.