Class: QgsSublayersDialog

class qgis.gui.QgsSublayersDialog(providerType: QgsSublayersDialog.ProviderType, name: str, parent: QWidget = None, fl: Union[Qt.WindowFlags, Qt.WindowType] = 0)

Bases: PyQt5.QtWidgets.QDialog

Constructor for QgsSublayersDialog

Enums

Methods

actionEvent
addToGroupCheckbox If we should add layers in a group
changeEvent
childEvent
closeEvent
connectNotify
contextMenuEvent
countColumn Returns column with count or -1
create
customEvent
destroy
disconnectNotify
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
enterEvent
event
eventFilter
exec
focusInEvent
focusNextChild
focusNextPrevChild
focusOutEvent
focusPreviousChild
hideEvent
initPainter
inputMethodEvent
isSignalConnected
keyPressEvent
keyReleaseEvent
leaveEvent
metric
mouseDoubleClickEvent
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
moveEvent
nativeEvent
paintEvent
populateLayerTable Populate the table with layers
receivers
resizeEvent
selection Returns list of selected layers
sender
senderSignalIndex
setShowAddToGroupCheckbox Set if we should display the add to group checkbox
sharedPainter
showAddToGroupCheckbox If we should display the add to group checkbox
showEvent
tabletEvent
timerEvent
updateMicroFocus
wheelEvent

Signals

Attributes

Gdal
Ogr
Vsifile
Gdal = 1
class LayerDefinition

Bases: sip.wrapper

QgsSublayersDialog.LayerDefinition(QgsSublayersDialog.LayerDefinition)

count
layerId
layerName
type
Ogr = 0
class ProviderType

Bases: int

Vsifile = 2
actionEvent()
addToGroupCheckbox(self) → bool

If we should add layers in a group

New in version 3.0.

changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
countColumn(self) → int

Returns column with count or -1

New in version 3.0.

create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter()
exec(self) → int
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
populateLayerTable(self, list: object)

Populate the table with layers

New in version 2.16.

receivers()
resizeEvent()
selection(self) → object

Returns list of selected layers

New in version 2.16.

sender()
senderSignalIndex()
setShowAddToGroupCheckbox(self, showAddToGroupCheckbox: bool)

Set if we should display the add to group checkbox

New in version 3.0.

sharedPainter()
showAddToGroupCheckbox(self) → bool

If we should display the add to group checkbox

New in version 3.0.

showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()