#include <qgssublayersdialog.h>
- Deprecated:
 - Will be removed in QGIS 4.0 
 
Definition at line 31 of file qgssublayersdialog.h.
 
◆ LayerDefinitionList
List of layer definitions for the purpose of this dialog. 
- Since
 - QGIS 2.16 
 
Definition at line 103 of file qgssublayersdialog.h.
 
 
◆ PromptMode
Prompt behavior of the QgsSublayersDialog. 
- Deprecated:
 - Use Qgis::SublayerPromptMode instead 
 
| Enumerator | 
|---|
| PromptAlways  | always ask if there are existing sublayers  
 | 
| PromptIfNeeded  | always ask if there are existing sublayers, but skip if there are bands for rasters  
 | 
| PromptNever  | never prompt, will not load anything  
 | 
| PromptLoadAll  | never prompt, but load all sublayers  
 | 
Definition at line 40 of file qgssublayersdialog.h.
 
 
◆ ProviderType
◆ QgsSublayersDialog()
      
        
          | QgsSublayersDialog::QgsSublayersDialog  | 
          ( | 
          ProviderType  | 
          providerType,  | 
        
        
           | 
           | 
          const QString &  | 
          name,  | 
        
        
           | 
           | 
          QWidget *  | 
          parent = nullptr,  | 
        
        
           | 
           | 
          Qt::WindowFlags  | 
          fl = Qt::WindowFlags(),  | 
        
        
           | 
           | 
          const QString &  | 
          dataSourceUri = QString()  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor for QgsSublayersDialog. 
Construct a new QgsSublayersDialog object - a dialog to select which sub layers to be imported from a data source (e.g. from geopackage or zipfile)
- Parameters
 - 
  
    | providerType | provider type  | 
    | name | provider type name  | 
    | parent | parent widget of the dialog  | 
    | fl | window flags  | 
    | dataSourceUri | data source URI | 
  
   
- Deprecated:
 - Will be removed in QGIS 4.0 
 
Definition at line 46 of file qgssublayersdialog.cpp.
 
 
◆ ~QgsSublayersDialog()
  
  
      
        
          | QgsSublayersDialog::~QgsSublayersDialog  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
override   | 
  
 
 
◆ addToGroupCheckbox()
  
  
      
        
          | bool QgsSublayersDialog::addToGroupCheckbox  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ countColumn()
  
  
      
        
          | int QgsSublayersDialog::countColumn  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ exec
  
  
      
        
          | int QgsSublayersDialog::exec  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overrideslot   | 
  
 
 
◆ populateLayerTable()
◆ selection()
◆ setShowAddToGroupCheckbox()
  
  
      
        
          | void QgsSublayersDialog::setShowAddToGroupCheckbox  | 
          ( | 
          bool  | 
          showAddToGroupCheckbox | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Set if we should display the add to group checkbox. 
- Since
 - QGIS 3.0 
 
Definition at line 142 of file qgssublayersdialog.h.
 
 
◆ showAddToGroupCheckbox()
  
  
      
        
          | bool QgsSublayersDialog::showAddToGroupCheckbox  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ mName
  
  
      
        
          | QString QgsSublayersDialog::mName | 
         
       
   | 
  
protected   | 
  
 
 
◆ mSelectedSubLayers
  
  
      
        
          | QStringList QgsSublayersDialog::mSelectedSubLayers | 
         
       
   | 
  
protected   | 
  
 
 
◆ mShowCount
  
  
      
        
          | bool QgsSublayersDialog::mShowCount = false | 
         
       
   | 
  
protected   | 
  
 
 
◆ mShowDescription
  
  
      
        
          | bool QgsSublayersDialog::mShowDescription = false | 
         
       
   | 
  
protected   | 
  
 
 
◆ mShowType
  
  
      
        
          | bool QgsSublayersDialog::mShowType = false | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: