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:EventLogItem

Properties

category

This property holds the EventCategory of the group. If the elements in events have no category assigned this one is used.

› Type:EventCategory
› Signal:categoryChanged()
› Attributes:Writable, Optional

events

This property holds a list of Event objects.

› Type:List<Event>
› Signal:eventsChanged()
› Attributes:Readonly

severity

This property holds the severity of the group. If the elements in events have no severity assigned this one is used.

› Type:Event.Severity
› Default:Event.NoSeverity
› 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.