17 #ifndef QGSDATASOURCEMANAGERDIALOG_H 18 #define QGSDATASOURCEMANAGERDIALOG_H 22 #include "ui_qgsdatasourcemanagerdialog.h" 67 void openPage(
const QString &pageName );
72 void setCurrentPage(
int index );
78 void rasterLayerAdded( QString
const &uri, QString
const &baseName, QString
const &providerKey );
80 void vectorLayerAdded(
const QString &vectorLayerPath,
const QString &baseName,
const QString &providerKey );
82 void vectorLayersAdded(
const QStringList &layerQStringList,
const QString &enc,
const QString &dataSourceType );
84 void setPreviousPage();
89 void showEvent( QShowEvent *event )
override;
93 void addRasterLayer(
const QString &uri,
const QString &baseName,
const QString &providerKey );
95 void addRasterLayer();
97 void addVectorLayer(
const QString &vectorLayerPath,
const QString &baseName,
const QString &providerKey );
99 void replaceSelectedVectorLayer(
const QString &oldId,
const QString &uri,
const QString &layerName,
const QString &provider );
101 void addVectorLayers(
const QStringList &layerQStringList,
const QString &enc,
const QString &dataSourceType );
103 void showProgress(
int progress,
int totalSteps );
105 void showStatusMessage(
const QString &message );
107 void addDatabaseLayers(
const QStringList &layerPathList,
const QString &providerKey );
109 void openFile(
const QString &fileName,
const QString &fileTypeHint = QString() );
113 void updateProjectHome();
120 void connectionsChanged();
126 void providerDialogsRefreshRequested();
129 void addProviderDialog(
QgsAbstractDataSourceWidget *dlg,
const QString &providerKey,
const QString &providerName,
const QIcon &icon,
const QString &toolTip = QString() );
131 Ui::QgsDataSourceManagerDialog *ui =
nullptr;
134 QStringList mPageNames;
141 #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...
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.