Search for usage in LXR

org::kde::kcm::SimpleKCM Class Reference
Inheritance diagram for org::kde::kcm::SimpleKCM:


bool __flickableOverflows
bool extraFooterTopPadding
int margins
- Properties inherited from org::kde::kirigami::ScrollablePage
Flickable flickable
int horizontalScrollBarPolicy
bool keyboardNavigationEnabled
bool refreshing
alias scrollablePageData
bool supportsRefreshing
int verticalScrollBarPolicy
- Properties inherited from org::kde::kirigami::Page
alias actions
alias contextualActions
Flickable flickable
Item globalToolBarItem
int globalToolBarStyle
bool isCurrentPage
alias leftAction
alias mainAction
bool needsAttention
alias overlay
var progress
alias rightAction
Component titleDelegate

Additional Inherited Members

- Signals inherited from org::kde::kirigami::Page
void backRequested (var event)
void contextualActionsAboutToShow ()

Detailed Description

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

1.1 Often a Kirigami.FormLayout is used as main element. It is possible to specify a header and footer component.
import org.kde.kcm 1.1 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 33 of file SimpleKCM.qml.

Property Documentation

◆ extraFooterTopPadding

bool org::kde::kcm::SimpleKCM::extraFooterTopPadding

extraFooterTopPadding: bool Whether to add extra top padding to an empty footer.

Use the default value of true for KCMs in System Settings, because otherwise the Apply, Help, and Defaults buttons provided by System Settings won't have enough top padding and the button bar will look ugly. When using this component outside of System Settings where there is no such restriction, or in System Settings KCMs that don't show Apply, Help, or Defaults buttons, set it to false. Default: true


Definition at line 52 of file SimpleKCM.qml.

◆ margins

int org::kde::kcm::SimpleKCM::margins
This property is read-only

Definition at line 37 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-2023 The KDE developers.
Generated on Sat Dec 2 2023 04:03:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.