org::kde::kcm::AbstractKCM

Search for usage in LXR

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

Properties

bool extraFooterTopPadding
 
bool framedView
 
int margins
 
- Properties inherited from org::kde::kirigami::Page
ActionIconGroup
 
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.

Since
1.4 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 org.kde.kcm 1.4 as KCM
import org.kde.kirigami 2.3 as Kirigami
KCM.AbstractKCM {
RowLayout {
QQC2.ScrollView {
...
}
QQC2.ScrollView {
...
}
}
footer: Item {...}
}
@inherits org.kde.kirigami.Page

Definition at line 34 of file AbstractKCM.qml.

Property Documentation

◆ extraFooterTopPadding

bool org::kde::kcm::AbstractKCM::extraFooterTopPadding
read

extraFooterTopPadding: bool Whether to add extra top padding to an empty footer when framedView is false.

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

Since
5.99

Definition at line 62 of file AbstractKCM.qml.

◆ framedView

bool org::kde::kcm::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

Since
5.90

Definition at line 48 of file AbstractKCM.qml.

◆ margins

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

Definition at line 38 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-2023 The KDE developers.
Generated on Mon May 8 2023 04:01:45 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.