Subgroup: Action

Class: QgsActionScopeRegistry

class qgis.core.QgsActionScopeRegistry

Bases: PyQt5.QtCore.QObject

The action scope registry is an application wide registry that contains a list of available action scopes. Some scopes are available by default, additional ones can be registered at runtime by plugins or custom applications.

To get access use the QgsApplication:

` :py:func:`QgsApplication.actionScopeRegistry()` `

New in version 3.0: Methods

actionScope Get an action scope by its id.
actionScopes Get all registered action scopes.
blockSignals
childEvent
children
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
isSignalConnected
isWidgetType
isWindowType
killTimer
metaObject
moveToThread
objectName
parent
property
pyqtConfigure Each keyword argument is either the name of a Qt property or a Qt signal.
receivers
registerActionScope Register an additional action scope.
removeEventFilter
sender
senderSignalIndex
setObjectName
setParent
setProperty
signalsBlocked
startTimer
thread
timerEvent
tr
unregisterActionScope Unregister an additional action scope.

Attributes

actionScopesChanged Emitted whenever a new action scope is registered or an action scope is unregistered.
destroyed destroyed(self, QObject = None) [signal]
objectNameChanged objectNameChanged(self, str) [signal]
staticMetaObject
actionScope(self, id: str) → QgsActionScope

Get an action scope by its id.

New in version 3.0.

actionScopes(self) → object

Get all registered action scopes.

New in version 3.0.

actionScopesChanged

Emitted whenever a new action scope is registered or an action scope is unregistered.

New in version 3.0: [signal]

childEvent()
connectNotify()
customEvent()
disconnectNotify()
isSignalConnected()
receivers()
registerActionScope(self, actionScope: QgsActionScope)

Register an additional action scope.

New in version 3.0.

sender()
senderSignalIndex()
timerEvent()
unregisterActionScope(self, actionScope: QgsActionScope)

Unregister an additional action scope.

New in version 3.0.