19 #ifndef QGSABSTRACTDATASOURCEWIDGET_H
20 #define QGSABSTRACTDATASOURCEWIDGET_H
29 #include <QDialogButtonBox>
83 virtual void addButtonClicked();
102 void connectionsChanged();
105 void addDatabaseLayers(
const QStringList &paths,
const QString &providerKey );
108 void addRasterLayer(
const QString &rasterLayerPath,
const QString &baseName,
const QString &providerKey );
115 void addRasterLayers(
const QStringList &layersList );
123 void addVectorLayer(
const QString &uri,
const QString &layerName,
const QString &providerKey = QString() );
129 void addMeshLayer(
const QString &url,
const QString &baseName,
const QString &providerKey );
135 void addVectorTileLayer(
const QString &url,
const QString &baseName );
141 void addPointCloudLayer(
const QString &url,
const QString &baseName,
const QString &providerKey );
149 void addVectorLayers(
const QStringList &layerList,
const QString &encoding,
const QString &dataSourceType );
158 void replaceVectorLayer(
const QString &oldId,
const QString &source,
const QString &name,
const QString &provider );
168 void progressMessage( QString message );
171 void enableButtons(
bool enable );
177 void pushMessage(
const QString &title,
const QString &message,
const Qgis::MessageLevel level = Qgis::MessageLevel::Info );
195 void setupButtons( QDialogButtonBox *buttonBox );
201 QPushButton *mAddButton =
nullptr;
208 #endif // QGSABSTRACTDATASOURCEWIDGET_H