AbstractKCM

Search for usage in LXR

AbstractKCM Class Reference

Properties

bool extraFooterTopPadding
 
bool footerPaddingEnabled
 
bool framedView
 
bool headerPaddingEnabled
 
int margins
 
bool sidebarMode
 

Detailed Description

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

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 { }
}

@inherits org.kde.kirigami.Page

Since
6.0

Definition at line 33 of file AbstractKCM.qml.

Property Documentation

◆ extraFooterTopPadding

bool AbstractKCM::extraFooterTopPadding
read

extraFooterTopPadding: bool Whether the footer should have extra space and a separator line drawn above it.

Set this to true in a KCM with a custom footer and a ListView immediately above it. Default: false

Definition at line 53 of file AbstractKCM.qml.

◆ footerPaddingEnabled

bool AbstractKCM::footerPaddingEnabled
read

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

Definition at line 69 of file AbstractKCM.qml.

◆ framedView

bool AbstractKCM::framedView
read

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

Definition at line 45 of file AbstractKCM.qml.

◆ headerPaddingEnabled

bool AbstractKCM::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: true

Definition at line 61 of file AbstractKCM.qml.

◆ margins

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

Definition at line 37 of file AbstractKCM.qml.

◆ sidebarMode

bool AbstractKCM::sidebarMode
read

Definition at line 71 of file AbstractKCM.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 Mon Nov 18 2024 12:15:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.