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;
 
  103     void validationChanged( 
bool isValid );
 
  108     void selectionChanged();
 
  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;
 
  152 class GUI_EXPORT QgsDataSourceSelectDialog: 
public QDialog
 
  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 );
 
  204 #endif // QGSDATASOURCESELECTDIALOG_H