On this page

PropertyCard QML Type

A card container that wraps a single property editor. More...

Import Statement: import QtInterfaceFramework.ControlPanelHelper 1.0
Inherits:

Rectangle

Properties

Detailed Description

PropertyCard displays a header with the property name, an optional "Non-Zoned" badge, and a content area loaded from the supplied content component. It provides a hover highlight effect and consistent spacing around the editor control.

Usage

PropertyCard {
    propertyName: "fanSpeed"
    nonZonedBadge: true
    content: Component {
        SpinControl {
            from: 0
            to: 10
            value: backend.fanSpeed
            onValueModified: function(v) { backend.setFanSpeed(v) }
        }
    }
}

Property Documentation

content : Component

This property holds the Component that provides the editor control loaded inside the card body.

nonZonedBadge : bool

This property holds whether the "Non-Zoned" badge is shown in the header. Useful for zoned interfaces where some properties are not zone-specific.

propertyName : string

This property holds the name displayed in the card header.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.