SimpleKCM

Search for usage in LXR

SimpleKCM Class Reference

Inherits org::kde::kirigami::ScrollablePage.

Properties

bool extraFooterTopPadding
 
bool headerPaddingEnabled
 
int margins
 
bool sidebarMode
 

Detailed Description

This component is intended to be used as root item for KCMs with arbitrary content.

Often a Kirigami.FormLayout is used as main element. It is possible to specify a header and footer component.

import org.kde.kcmutils as KCMUtils
import org.kde.kirigami as Kirigami
KCMUtils.SimpleKCM {
Kirigami.FormLayout {
TextField {
Kirigami.FormData.label: "Label:"
}
TextField {
Kirigami.FormData.label: "Label:"
}
}
footer: Item {...}
}

@inherits org.kde.kirigami.ScrollablePage

Definition at line 32 of file SimpleKCM.qml.

Property Documentation

◆ extraFooterTopPadding

bool SimpleKCM::extraFooterTopPadding
read

extraFooterTopPadding: bool

Deprecated
unused Default: false

Definition at line 43 of file SimpleKCM.qml.

◆ headerPaddingEnabled

bool SimpleKCM::headerPaddingEnabled
read

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. Default: false

Definition at line 51 of file SimpleKCM.qml.

◆ margins

int SimpleKCM::margins
read
Remarks
This property is read-only

Definition at line 36 of file SimpleKCM.qml.

◆ sidebarMode

bool SimpleKCM::sidebarMode
read

Definition at line 59 of file SimpleKCM.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 19 2024 11:52:14 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.