CSComposite QML Type

Display grouped items or include external files. More...

Import Statement: import CSDataQuick.Components 1.0
Inherits:

BaseItem

Properties

Detailed Description

A Composite is a group of any items. These items can be created directly. Or it can be made to get its items from an external ADL or QML file specified by source.

The Composite will ignore things like the display and colormap in the ADL file and just use the items in it. The positions of the items will be adjusted so the upper left corner of the bounding box of all of them is at the specified x and y values of the Composite. The specified height and width of the Composite are adjusted to those of the bounding box.

If the file has macros, you can specify them by macro. If you do not specify any, any existing macros in the current file which uses this Composite will be passed to the file. If you use this feature, those macros will not be passed, and only the ones you specify with macro will be used instead.

BaseWindow {
    CSComposite {
        source: 'controls.adl'
    }
}

Property Documentation

macro : string

This property holds the macro substitution for the external source file,


source : string

This property holds the external source file to load components.