16#ifndef QGSDATASOURCESELECTDIALOG_H
17#define QGSDATASOURCESELECTDIALOG_H
19#include "ui_qgsdatasourceselectdialog.h"
73 void setDescription(
const QString &description );
84 void expandPath(
const QString &path,
bool selectPath =
false );
92 void showFilterWidget(
bool visible );
94 void setFilterSyntax( QAction * );
96 void setCaseSensitive(
bool caseSensitive );
100 void showEvent( QShowEvent *e )
override;
102 void dragEnterEvent( QDragEnterEvent *event )
override;
103 void dropEvent( QDropEvent *event )
override;
127 void onLayerSelected(
const QModelIndex &index );
129 void itemDoubleClicked(
const QModelIndex &index );
133 void refreshModel(
const QModelIndex &index );
135 void setValid(
bool valid );
138 QString acceptableFilePath( QDropEvent *event )
const;
143 QLabel *mDescriptionLabel =
nullptr;
144 bool mIsValid =
true;
188 void setDescription(
const QString &description );
199 void expandPath(
const QString &path,
bool selectPath =
false );
207 void showFilterWidget(
bool visible );
209 void setFilterSyntax( QAction * );
211 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.
A dialog which embeds the browser view to select an existing data source.