16 #ifndef QGSDATASOURCESELECTDIALOG_H 
   17 #define QGSDATASOURCESELECTDIALOG_H 
   19 #include "ui_qgsdatasourceselectdialog.h" 
   60                                bool setFilterByLayerType = 
false,
 
   62                                QWidget *parent = 
nullptr );
 
   78     void setDescription( 
const QString &description );
 
   86     void showFilterWidget( 
bool visible );
 
   88     void setFilterSyntax( QAction * );
 
   90     void setCaseSensitive( 
bool caseSensitive );
 
   94     void showEvent( QShowEvent *e ) 
override;
 
  118     void onLayerSelected( 
const QModelIndex &index );
 
  120     void itemDoubleClicked( 
const QModelIndex &index );
 
  125     void refreshModel( 
const QModelIndex &index );
 
  127     void setValid( 
bool valid );
 
  132     QLabel *mDescriptionLabel = 
nullptr;
 
  133     bool mIsValid = 
true;
 
  167                                bool setFilterByLayerType = 
false,
 
  169                                QWidget *parent = 
nullptr );
 
  182     void setDescription( 
const QString &description );
 
  190     void showFilterWidget( 
bool visible );
 
  192     void setFilterSyntax( QAction * );
 
  194     void setCaseSensitive( 
bool caseSensitive );
 
A model for showing available data sources and other items in a structured tree.
A QSortFilterProxyModel subclass for filtering and sorting browser model items.
The QgsDataSourceSelectDialog class embeds the browser view to select an existing data source.
QgsMapLayerType
Types of layers that can be added to a map.