AbstractKCM QML Type
This component is intended to be used as root item for KCMs with arbitrary content. More...
| Import Statement: | import org.kde.kcmutils |
| Since: | 6.0 |
| Inherits: | |
| Inherited By: |
Properties
- footerPaddingEnabled : bool
- forceFooterSeparator : bool
- forceHeaderSeparator : bool
- framedView : bool
- headerPaddingEnabled : bool
- margins : int
- sidebarMode : bool
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
footerPaddingEnabled : bool [default: true]
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.
framedView : bool [default: true]
Whether to use this component as the base of a "framed" KCM with an inner scrollview that draws its own frame.
headerPaddingEnabled : bool [default: true]
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.