EventGroup
Description
The EventGroup object is a container which groups Event objects for example in a EventLog. It can be used to assign a severity or a EventCategory to events.
- › Inherits:
Overview
Properties
Methods
Signals
Properties
category
This property holds the EventCategory of the group. If the elements in events have no category assigned this one is used.
- › Type:
- › Signal:
categoryChanged()
- › Attributes:
Writable, Optional
events
This property holds a list of Event objects.
severity
This property holds the severity of the group. If the elements in events have no severity assigned this one is used.
- › Type:
- › Default:
- › Signal:
severityChanged()
- › Attributes:
Writable, Optional
Signals
eventsDataChanged(SignedInteger index)
This signal is emitted whenever the List.dataChanged() signal is emitted, i.e. the item at index in the events list itself emitted the dataChanged() signal.
Example
See EventLog example on how to use EventGroup.