Pages
API Documentation
On this page

AbstractKCM QML Type

This component is intended to be used as root item for KCMs with arbitrary content. This type was introduced in Qt 6.0. More...

Detailed Description

Unlike SimpleKCM this does NOT provide a scrollable view, the developer will have to manage their own scrollviews.

Most of the times SimpleKCM should be used instead.

import QtQuick
import QtQuick.Controls as QQC2
import QtQuick.Layouts
import org.kde.kcmutils as KCMUtils

KCMUtils.AbstractKCM {
    RowLayout {
        QQC2.ScrollView { }
        QQC2.ScrollView { }
    }
    footer: QQC2.ToolBar { }
}

Property Documentation

[default: true] footerPaddingEnabled : bool

Whether the contents of the footer will have automatic padding around it.

Should be disabled when using an InlineMessage or custom content item in the footer that's intended to touch the window edges.

forceFooterSeparator : bool

*

Whether to always draw a separator line between main content and footer. * * AbstractKCM usually does not draw a separator line above the footer. Enable * this to draw a separator line; this is generally recommended if you have * a custom footer, in plaricular in a ScrollViewKCM or GridViewKCM.

forceHeaderSeparator : bool

*

Whether to always draw a separator line between header and main content. * * Usually, a separator will only be inserted if extra content is added to * the header, as it would be redundant with the header that Kirigami.PageRow * draws, and if framedView is false as otherwise the view provides the * separator. Enable this to have AbstractKCM always draw a separator line.

[default: true] framedView : bool

Whether to use this component as the base of a "framed" KCM with an inner scrollview that draws its own frame.

[default: true] headerPaddingEnabled : bool

Whether the contents of the header will have automatic padding around it.

Should be disabled when using an InlineMessage or custom content item in the header that's intended to touch the window edges.

[read-only] margins : int

sidebarMode : bool

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.