FormAlignmentGroup QML Type

A group of forms that should be perfectly aligned with each other. More...

Import Statement: import org.kde.kirigami.forms

Properties

Attached Properties

  • group : FormAlignmentGroup

Detailed Description

Sometimes for implementation reasons there must be multiple Form instances in the same encompassing layout. when the forms are not in collapsed mode, their tiles and contents need to be perfectly aligned with each other, therefore while doing its layout, a form must know about all the other forms in the group, so they can synchronize their size hints with each other.

Use a FormAlignmentGroup instance and its attached property to add every form in the same group

Example usage:

FormAlignGroup {
    id: formGroup
}

Form {
    FormAlignGroup.group: formGroup
    ...
}

Form {
    FormAlignGroup.group: formGroup
    ...
}

See also Form.

Property Documentation

forms : list<Item>

All the forms in this group.

Attached Property Documentation

FormAlignmentGroup.group : FormAlignmentGroup [attached]

The group this form belongs to. The attached property makes sense to be used only inside a Form