Component Item

class Component

Base type for various dynamic items such as probes.

Locations:Component, Testcase
Nested items:Component, QtObject
Inherited by:ProcessProbe, PinProbe, SignalProbe, UniflashProbe
Properties:name

Detailed Description

Component is used as a base type for all kinds of dynamic items in test cases such as probes and other helpers. Component items may define their own properties, methods, signals and signal handlers. All probe items are based upon Component.

Use this item whenever you want to implement re-usable components for the use in Testcase items.

Properties

string name
Default:typename-number

Name of the component. When not set, Qst will deduce the final typename and add a counter so that the component is assigned a unique name. For instance, when implementing MyProbe.qml based on Component, the default name for probe items will be myprobe-x where x is a counter value.

This value does currently only have an effect in error messages.