QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
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;
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
QgsMapLayerType
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.