16 #ifndef QGSSUBLAYERSDIALOG_H
17 #define QGSSUBLAYERSDIALOG_H
21 #include "ui_qgssublayersdialogbase.h"
121 Qt::WindowFlags fl = Qt::WindowFlags(),
142 void setShowAddToGroupCheckbox(
bool showAddToGroupCheckbox ) { mShowAddToGroupCheckbox = showAddToGroupCheckbox; }
166 void layersTable_selectionChanged(
const QItemSelection &,
const QItemSelection & );
167 void mBtnDeselectAll_pressed();
178 bool mShowCount =
false;
180 bool mShowType =
false;
182 bool mShowDescription =
false;
186 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.
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.