SimpleKCM

Search for usage in LXR

SimpleKCM Class Reference

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

Properties

bool extraFooterTopPadding
 
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 KCM
import org.kde.kirigami 2.3 as Kirigami
KCM.SimpleKCM {
Kirigami.FormLayout {
TextField {
Kirigami.FormData.label: "Label:"
}
TextField {
Kirigami.FormData.label: "Label:"
}
}
footer: Item {...}
}

@inherits org.kde.kirigami.ScrollablePage

Definition at line 31 of file SimpleKCM.qml.

Property Documentation

◆ extraFooterTopPadding

bool SimpleKCM::extraFooterTopPadding
read

extraFooterTopPadding: bool

Deprecated
unused Default: false

Definition at line 42 of file SimpleKCM.qml.

◆ margins

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

Definition at line 35 of file SimpleKCM.qml.

◆ sidebarMode

bool SimpleKCM::sidebarMode
read

Definition at line 50 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 Tue Mar 26 2024 11:17:57 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.