Warning, /maui/mauikit/src/controls.6/SettingsPage.qml is written in an unsupported language. File is not indexed.

0001 import org.mauikit.controls 1.3 as Maui
0002 
0003 /**
0004  * @inherit ScrollColumn
0005  * @brief A friend control for the SettingsDialog. Use for creating subpages for the SettingDialog.
0006  * 
0007  * 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.
0008  * 
0009  * @note Consider using the SectionGroup and FlexSectionItem as the children for a cohesive look.
0010  * 
0011  * Checkout the MauiKit ScrollColumn for more inherited properties.
0012  * 
0013  * @code
0014  * Component
0015  * {
0016  *    id: _settingsPage2
0017  * 
0018  *    Maui.SettingsPage
0019  *    {
0020  *        title: "Page2"
0021  * 
0022  *        Maui.FlexSectionItem
0023  *        {
0024  *            label1.text: "Configuration title"
0025  *            label2.text: "Description text"
0026  * 
0027  *            Switch {}
0028  *        }
0029  *    }
0030  * }
0031  * @endcode
0032  */
0033 Maui.ScrollColumn
0034 {
0035     id: control
0036     spacing: Maui.Style.defaultSpacing*2
0037     
0038     /**
0039      * @brief The title of the settings sub page.
0040      * By default this is set to english word `"Settings"`.
0041      */
0042     property string title : i18nd("mauikit", "Settings")
0043 }