19 #ifndef QGSABSTRACTDATASOURCEWIDGET_H 20 #define QGSABSTRACTDATASOURCEWIDGET_H 29 #include <QDialogButtonBox> 76 void connectionsChanged();
79 void addDatabaseLayers(
const QStringList &paths,
const QString &providerKey );
82 void addRasterLayer(
const QString &rasterLayerPath,
const QString &baseName,
const QString &providerKey );
90 void addVectorLayer(
const QString &uri,
const QString &layerName,
const QString &providerKey = QString() );
98 void addVectorLayers(
const QStringList &layerList,
const QString &encoding,
const QString &dataSourceType );
107 void replaceVectorLayer(
const QString &oldId,
const QString &source,
const QString &name,
const QString &provider );
111 void progress(
int,
int );
114 void progressMessage( QString message );
117 void enableButtons(
bool enable );
132 void setupButtons( QDialogButtonBox *buttonBox );
138 QPushButton *mAddButton =
nullptr;
144 #endif // QGSABSTRACTDATASOURCEWIDGET_H WidgetMode
Different ways a source select dialog can be used (embedded is for the data source manager dialog) ...
Map canvas is a class for displaying all GIS data types on a canvas.