// SPDX-FileCopyrightText: 2026 Matvey Shcherbinin // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL import QtQuick import QtQuick.Layouts import org.kde.kirigami as Kirigami import org.kde.kirigamiaddons.formcard as FormCard import koutnet.app // The heading above a group of cards, aligned with them. // // A component rather than the form header as it comes: the gutter is the page's // answer to where the form sits, and a heading that disagreed with the cards // under it by a gutter is the first thing anybody notices about a page that // looks unfinished. FormCard.FormHeader { Kirigami.Theme.colorSet: Kirigami.Theme.View Kirigami.Theme.backgroundColor: ThemePalette.surfaceCard Kirigami.Theme.textColor: ThemePalette.text Kirigami.Theme.disabledTextColor: Kirigami.ColorUtils.linearInterpolation(ThemePalette.text, ThemePalette.surfaceCard, 0.4) Kirigami.Theme.highlightColor: ThemePalette.accent readonly property real gutter: Kirigami.Units.gridUnit Layout.leftMargin: gutter Layout.rightMargin: gutter }