QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
16 #ifndef QGSSUBLAYERSDIALOG_H
17 #define QGSSUBLAYERSDIALOG_H
21 #include "ui_qgssublayersdialogbase.h"
104 Qt::WindowFlags fl =
nullptr,
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;
@ PromptNever
never prompt, will not load anything
PromptMode
Prompt behavior of the QgsSublayersDialog.
bool addToGroupCheckbox() const
If we should add layers in a group.
@ PromptAlways
always ask if there are existing sublayers
QString layerName
Name of the layer (not necessarily unique)
void setShowAddToGroupCheckbox(bool showAddToGroupCheckbox)
Set if we should display the add to group checkbox.
QString mName
Provider type name.
@ PromptIfNeeded
always ask if there are existing sublayers, but skip if there are bands for rasters
int countColumn() const
Returns column with count or -1.
QString description
Description. Added in QGIS 3.10.
bool showAddToGroupCheckbox() const
If we should display the add to group checkbox.
QStringList mSelectedSubLayers
QList< QgsSublayersDialog::LayerDefinition > LayerDefinitionList
List of layer definitions for the purpose of this dialog.
QString type
Extra type depending on the use (e.g. geometry type for vector sublayers)
A structure that defines layers for the purpose of this dialog.