Obsolete Members for FormGridContainer

The following members of QML type FormGridContainer are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

Property Documentation

infoCards : list<QtObject> [deprecated]

This property is deprecated. We strongly advise against using it in new code.

This property holds the InfoCards which should be displayed.

Each InfoCard contains a title and an optional subtitle

import org.kde.kirigamiaddons.formcard as FormCard

FormCard.FormGridContainer {
    infoCards: [
        FormCard.FormGridContainer.InfoCard {
            title: "42"
            subtitle: i18nc("@info:Number of Posts", "Posts")
        },
        FormCard.FormGridContainer.InfoCard {
            title: "42"
        },
        FormCard.FormGridContainer.InfoCard {
            title: "Details"
            action: Kirigami.Action {
                onClicked: pageStack.push("Details.qml")
            }
        }
    ]
}

Use direct form delegates instead.