SettingsPage

Search for usage in LXR

SettingsPage Class Reference
Inheritance diagram for SettingsPage:

Properties

string title
 
- Properties inherited from ScrollColumn
alias container
 
alias content
 
alias flickable
 
- Properties inherited from ScrollView
Flickable view
 

Detailed Description

A friend control for the SettingsDialog.

Use for creating subpages for the SettingDialog.

The usage is quiet simple, just declare a list of children items and those will be positioned into a scrollable column layout. This is handled by a ColumnLayout, so the elements need to use the Layout attached properties.

Note
Consider using the SectionGroup and FlexSectionItem as the children for a cohesive look.

Checkout the MauiKit ScrollColumn for more inherited properties.

Component
{
id: _settingsPage2
Maui.SettingsPage
{
title: "Page2"
Maui.FlexSectionItem
{
label1.text: "Configuration title"
label2.text: "Description text"
Switch {}
}
}
}
string title
The title of the settings sub page.

Definition at line 32 of file SettingsPage.qml.

Property Documentation

◆ title

string SettingsPage::title
read

The title of the settings sub page.

By default this is set to english word "Settings".

Definition at line 39 of file SettingsPage.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.