16 #ifndef QGSSUBLAYERSDIALOG_H    17 #define QGSSUBLAYERSDIALOG_H    21 #include "ui_qgssublayersdialogbase.h"    63                         Qt::WindowFlags fl = 
nullptr );
    71     void populateLayerTable( 
const LayerDefinitionList &list );
    77     LayerDefinitionList selection();
   109     bool mShowCount = 
false;  
   110     bool mShowType = 
false;   
   114     bool mShowAddToGroupCheckbox = 
false;   
   115     QCheckBox *mCheckboxAddToGroup = 
nullptr;
 QString layerName
Name of the layer (not necessarily unique) 
 
QList< QgsSublayersDialog::LayerDefinition > LayerDefinitionList
List of layer definitions for the purpose of this dialog. 
 
QStringList mSelectedSubLayers
 
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. 
 
QString type
Extra type depending on the use (e.g. geometry type for vector sublayers) 
 
bool addToGroupCheckbox() const
If we should add layers in a group. 
 
int countColumn() const
Returns column with count or -1. 
 
A structure that defines layers for the purpose of this dialog.