12#ifndef SUBLAYERSELECTIONDIALOG_H
13#define SUBLAYERSELECTIONDIALOG_H
40 const QString &sourcePath,
41 const QList<GISVectorLayer::OgrSublayerInfo> &sublayers,
42 QWidget *
parent =
nullptr);
51 void buildUi(
const QString &sourcePath);
52 void setAllChecked(
bool checked);
54 void applyNameFilter(
const QString &
text);
56 QList<GISVectorLayer::OgrSublayerInfo> m_sublayers;
57 QTableWidget *m_table =
nullptr;
58 QLineEdit *m_filter =
nullptr;
Lets the user choose which sublayers of a vector datasource to add.
Definition sublayerselectiondialog.h:29
QStringList selectedLayerNames() const
OGR names of the checked sublayers, in listed order.
Definition sublayerselectiondialog.cpp:141
QList< GISVectorLayer::OgrSublayerInfo > selectedSublayers() const
The checked sublayer descriptors, in listed order.
Definition sublayerselectiondialog.cpp:152
Map layer backed by an OGR vector dataset (Shapefile, GeoJSON, GeoPackage, …), rendering features as ...
QVector< int > parent
union-find
Definition pslgminsize.cpp:176
QString text
Definition queryparser.cpp:35