16#ifndef QGSDATASOURCESELECTDIALOG_H
17#define QGSDATASOURCESELECTDIALOG_H
19#include "ui_qgsdatasourceselectdialog.h"
74 void setDescription(
const QString &description );
85 void expandPath(
const QString &path,
bool selectPath =
false );
93 void showFilterWidget(
bool visible );
95 void setFilterSyntax( QAction * );
97 void setCaseSensitive(
bool caseSensitive );
101 void showEvent( QShowEvent *e )
override;
103 void dragEnterEvent( QDragEnterEvent *event )
override;
104 void dropEvent( QDropEvent *event )
override;
128 void onLayerSelected(
const QModelIndex &index );
130 void itemDoubleClicked(
const QModelIndex &index );
134 void refreshModel(
const QModelIndex &index );
136 void setValid(
bool valid );
139 QString acceptableFilePath( QDropEvent *event )
const;
144 QLabel *mDescriptionLabel =
nullptr;
145 bool mIsValid =
true;
190 void setDescription(
const QString &description );
201 void expandPath(
const QString &path,
bool selectPath =
false );
209 void showFilterWidget(
bool visible );
211 void setFilterSyntax( QAction * );
213 void setCaseSensitive(
bool caseSensitive );
LayerType
Types of layers that can be added to a map.
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.