19 #ifndef QGSABSTRACTDATASOURCEWIDGET_H
20 #define QGSABSTRACTDATASOURCEWIDGET_H
29 #include <QDialogButtonBox>
68 virtual void addButtonClicked();
87 void connectionsChanged();
90 void addDatabaseLayers(
const QStringList &paths,
const QString &providerKey );
93 void addRasterLayer(
const QString &rasterLayerPath,
const QString &baseName,
const QString &providerKey );
101 void addVectorLayer(
const QString &uri,
const QString &layerName,
const QString &providerKey = QString() );
107 void addMeshLayer(
const QString &url,
const QString &baseName,
const QString &providerKey );
113 void addVectorTileLayer(
const QString &url,
const QString &baseName );
121 void addVectorLayers(
const QStringList &layerList,
const QString &encoding,
const QString &dataSourceType );
130 void replaceVectorLayer(
const QString &oldId,
const QString &source,
const QString &name,
const QString &provider );
140 void progressMessage( QString message );
143 void enableButtons(
bool enable );
149 void pushMessage(
const QString &title,
const QString &message,
const Qgis::MessageLevel level = Qgis::MessageLevel::Info );
164 void setupButtons( QDialogButtonBox *buttonBox );
170 QPushButton *mAddButton =
nullptr;
176 #endif // QGSABSTRACTDATASOURCEWIDGET_H