Subgroup: Transaction
Class: QgsTransactionGroup¶
-
class
qgis.core.
QgsTransactionGroup
(parent: QObject = None)¶ Bases:
PyQt5.QtCore.QObject
Constructor for QgsTransactionGroup
Methods
addLayer
Add a layer to this transaction group. blockSignals
childEvent
children
connString
Return the connection string used by this transaction group. connectNotify
customEvent
deleteLater
disconnect
disconnectNotify
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
event
eventFilter
findChild
findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject findChildren
findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] inherits
installEventFilter
isEmpty
Returns true if there are no layers in this transaction group. isSignalConnected
isWidgetType
isWindowType
killTimer
layers
Get the set of layers currently managed by this transaction group. metaObject
modified
Returns true if any of the layers in this group reports a modification. moveToThread
objectName
parent
property
providerKey
Return the provider key used by this transaction group. pyqtConfigure
Each keyword argument is either the name of a Qt property or a Qt signal. receivers
removeEventFilter
sender
senderSignalIndex
setObjectName
setParent
setProperty
signalsBlocked
startTimer
thread
timerEvent
tr
Attributes
commitError
Will be emitted whenever there is a commit error [signal] destroyed
destroyed(self, QObject = None) [signal] objectNameChanged
objectNameChanged(self, str) [signal] staticMetaObject
-
addLayer
(self, layer: QgsVectorLayer) → bool¶ Add a layer to this transaction group.
Will return true if it is compatible and has been added.
-
childEvent
()¶
-
commitError
¶ Will be emitted whenever there is a commit error [signal]
-
connString
(self) → str¶ Return the connection string used by this transaction group. Layers need be compatible when added.
-
connectNotify
()¶
-
customEvent
()¶
-
disconnectNotify
()¶
-
isEmpty
(self) → bool¶ Returns true if there are no layers in this transaction group.
-
isSignalConnected
()¶
-
layers
(self) → Set[QgsVectorLayer]¶ Get the set of layers currently managed by this transaction group.
Returns: Layer set
-
modified
(self) → bool¶ Returns true if any of the layers in this group reports a modification.
-
providerKey
(self) → str¶ Return the provider key used by this transaction group. Layers need be compatible when added.
-
receivers
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
timerEvent
()¶
-