16 #ifndef QGSDATASOURCESELECTDIALOG_H 17 #define QGSDATASOURCESELECTDIALOG_H 20 #include "ui_qgsdatasourceselectdialog.h" 59 bool setFilterByLayerType =
false,
61 QWidget *parent =
nullptr );
77 void showFilterWidget(
bool visible );
79 void setFilterSyntax( QAction * );
81 void setCaseSensitive(
bool caseSensitive );
85 void showEvent( QShowEvent *e )
override;
90 void onLayerSelected(
const QModelIndex &index );
95 void refreshModel(
const QModelIndex &index );
98 std::unique_ptr<QgsBrowserModel> mBrowserModel;
99 bool mOwnModel =
true;
104 #endif // QGSDATASOURCESELECTDIALOG_H
The QgsDataSourceSelectDialog class embeds the browser view to select an existing data source...
LayerType
Types of layers that can be added to a map.
A QSortFilterProxyModel subclass for filtering and sorting browser model items.
A model for showing available data sources and other items in a structured tree.