FormCheckDelegate

Search for usage in LXR

FormCheckDelegate Class Reference
Inheritance diagram for FormCheckDelegate:

Properties

string description
 
alias descriptionItem
 
var leading
 
real leadingPadding
 
var trailing
 
real trailingPadding
 

Detailed Description

A Form delegate that corresponds to a checkbox.

This component is used for individual settings that can be toggled on, off, or tristate, typically in conjunction with multiple other checkboxes.

Use the inherited QtQuick.Controls.AbstractButton.text property to define the main text of the checkbox.

If you need a purely on/off toggle for a single setting, consider using a FormSwitchDelegate.

If you need multiple toggles for the same setting, use a FormRadioDelegate instead.

If you need multiple values for the same setting, use a FormComboBoxDelegate instead.

Since
KirigamiAddons 0.11.0
See also
QtQuick.Controls.AbstractButton
FormSwitchDelegate
FormComboBoxDelegate
FormRadioDelegate

Definition at line 34 of file FormCheckDelegate.qml.

Property Documentation

◆ description

string FormCheckDelegate::description
read

A label containing secondary text that appears under the inherited text property.

This provides additional information shown in a faint gray color.

Definition at line 42 of file FormCheckDelegate.qml.

◆ descriptionItem

alias FormCheckDelegate::descriptionItem
read

This property allows to override the internal description item (a QtQuick.Controls.Label) with a custom component.

Definition at line 65 of file FormCheckDelegate.qml.

◆ leading

var FormCheckDelegate::leading
read

This property holds an item that will be displayed to the left of the delegate's contents.

Definition at line 47 of file FormCheckDelegate.qml.

◆ leadingPadding

real FormCheckDelegate::leadingPadding
read

This property holds the padding after the leading item.

Definition at line 51 of file FormCheckDelegate.qml.

◆ trailing

var FormCheckDelegate::trailing
read

This property holds an item that will be displayed to the right of the delegate's contents.

Definition at line 56 of file FormCheckDelegate.qml.

◆ trailingPadding

real FormCheckDelegate::trailingPadding
read

This property holds the padding before the trailing item.

Definition at line 60 of file FormCheckDelegate.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 Sat Apr 27 2024 22:09:57 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.