16 #ifndef QGSSUBLAYERSDIALOG_H
17 #define QGSSUBLAYERSDIALOG_H
21 #include "ui_qgssublayersdialogbase.h"
104 Qt::WindowFlags fl = Qt::WindowFlags(),
105 const QString &dataSourceUri = QString() );
149 void layersTable_selectionChanged(
const QItemSelection &,
const QItemSelection & );
150 void mBtnDeselectAll_pressed();
159 bool mShowCount =
false;
160 bool mShowType =
false;
161 bool mShowDescription =
false;
165 bool mShowAddToGroupCheckbox =
false;
QList< QgsSublayersDialog::LayerDefinition > LayerDefinitionList
List of layer definitions for the purpose of this dialog.
PromptMode
Prompt behavior of the QgsSublayersDialog.
@ PromptNever
never prompt, will not load anything
@ PromptAlways
always ask if there are existing sublayers
@ PromptIfNeeded
always ask if there are existing sublayers, but skip if there are bands for rasters
bool showAddToGroupCheckbox() const
If we should display the add to group checkbox.
void setShowAddToGroupCheckbox(bool showAddToGroupCheckbox)
Set if we should display the add to group checkbox.
QStringList mSelectedSubLayers
int countColumn() const
Returns column with count or -1.
bool addToGroupCheckbox() const
If we should add layers in a group.
QString mName
Provider type name.
A structure that defines layers for the purpose of this dialog.
QString layerName
Name of the layer (not necessarily unique)
QString type
Extra type depending on the use (e.g. geometry type for vector sublayers)
QString description
Description. Added in QGIS 3.10.