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 );
115 void addVectorLayers(
const QStringList &layerList,
const QString &encoding,
const QString &dataSourceType );
124 void replaceVectorLayer(
const QString &oldId,
const QString &source,
const QString &name,
const QString &provider );
134 void progressMessage( QString message );
137 void enableButtons(
bool enable );
152 void setupButtons( QDialogButtonBox *buttonBox );
158 QPushButton *mAddButton =
nullptr;
164 #endif // QGSABSTRACTDATASOURCEWIDGET_H WidgetMode
Different ways a source select dialog can be used.
Map canvas is a class for displaying all GIS data types on a canvas.