Class: QgsProviderSublayerDialogModel

class qgis.gui.QgsProviderSublayerDialogModel

Bases: QgsProviderSublayerModel

A model for representing the sublayers present in a URI for the QgsProviderSublayersDialog.

New in version 3.30.

QgsProviderSublayerDialogModel(parent: QObject = None) Constructor.

Methods

beginInsertColumns

beginInsertRows

beginMoveColumns

beginMoveRows

beginRemoveColumns

beginRemoveRows

beginResetModel

changePersistentIndex

changePersistentIndexList

childEvent

connectNotify

createIndex

customEvent

data

param index

decodeData

disconnectNotify

encodeData

endInsertColumns

endInsertRows

endMoveColumns

endMoveRows

endRemoveColumns

endRemoveRows

endResetModel

flags

param index

isSignalConnected

persistentIndexList

receivers

resetInternalData

sender

senderSignalIndex

setGeometryTypesResolved

Sets whether geometry types are resolved.

timerEvent

QgsProviderSublayerDialogModel.beginInsertColumns(self, QModelIndex, int, int)
QgsProviderSublayerDialogModel.beginInsertRows(self, QModelIndex, int, int)
QgsProviderSublayerDialogModel.beginMoveColumns(self, QModelIndex, int, int, QModelIndex, int) -> bool
QgsProviderSublayerDialogModel.beginMoveRows(self, QModelIndex, int, int, QModelIndex, int) -> bool
QgsProviderSublayerDialogModel.beginRemoveColumns(self, QModelIndex, int, int)
QgsProviderSublayerDialogModel.beginRemoveRows(self, QModelIndex, int, int)
beginResetModel(self)
QgsProviderSublayerDialogModel.changePersistentIndex(self, QModelIndex, QModelIndex)
changePersistentIndexList(self, Iterable[QModelIndex], Iterable[QModelIndex])
childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
QgsProviderSublayerDialogModel.createIndex(self, int, int, object: object = 0) -> QModelIndex
customEvent(self, QEvent)
data(self, index: QModelIndex, role: int) Any
Parameters
  • index (QModelIndex) –

  • role (int) –

Return type

Any

QgsProviderSublayerDialogModel.decodeData(self, int, int, QModelIndex, QDataStream) -> bool
disconnectNotify(self, QMetaMethod)
encodeData(self, Iterable[QModelIndex], QDataStream)
endInsertColumns(self)
endInsertRows(self)
endMoveColumns(self)
endMoveRows(self)
endRemoveColumns(self)
endRemoveRows(self)
endResetModel(self)
flags(self, index: QModelIndex) Qt.ItemFlags
Parameters

index (QModelIndex) –

Return type

Qt.ItemFlags

isSignalConnected(self, QMetaMethod) bool
persistentIndexList(self) List[QModelIndex]
receivers(self, PYQT_SIGNAL) int
resetInternalData(self)
sender(self) QObject
senderSignalIndex(self) int
setGeometryTypesResolved(self, resolved: bool)

Sets whether geometry types are resolved.

Parameters

resolved (bool) –

timerEvent(self, QTimerEvent)