SectionGroup

Search for usage in LXR

SectionGroup Class Reference
Inheritance diagram for SectionGroup:

Properties

alias content
 
alias description
 
alias template
 
alias title
 

Detailed Description

A control to group children elements into a column layout with a header section with a title and message body.

Since
org.mauikit.controls

This controls inherits from QQC2 Pane, to checkout its inherited properties refer to the Qt Docs.

Example of different usages of the control
Maui.SectionGroup
{
title: "Section with Children"
description: "The description label can be a bit longer explaining something importand. Maybe?"
Rectangle
{
Layout.fillWidth: true
implicitHeight: 60
radius: 20
color: "orange"
}
}
alias description
The message body of the section header.
alias title
The title of the section header.
Note
Consider using the SectionItem or FlexSectionItem as the children elements of this control, in order to have a more cohesive look with another MauiKit applications.

You can find a more complete example at this link.

Definition at line 35 of file SectionGroup.qml.

Property Documentation

◆ content

alias SectionGroup::content
read
Remarks
This is the default property

Definition at line 43 of file SectionGroup.qml.

◆ description

string SectionGroup::description
read

The message body of the section header.

Definition at line 53 of file SectionGroup.qml.

◆ template

SectionHeader SectionGroup::template
read

An alias to the section header title control, which is handled by SectionHeader More properties can be accessed via this alias, such as setting a custom icon or image, etc, for that use the template of the template.

Remarks
This property is read-only
Maui.SectionGroup
{
title: "Hello"
description: "Description text"
template.template.iconSource: "folder" //Here we access the template of this control, which is a SectionHeader, and then the template fo the section header, which is a ListItemTemplate.
}
See also
SectionHeader
ListItemTemplate

Definition at line 70 of file SectionGroup.qml.

◆ title

string SectionGroup::title
read

The title of the section header.

Definition at line 48 of file SectionGroup.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 Fri May 17 2024 11:56:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.