MauiKit Controls
PageLayout.qml
29 * @brief A MauiKit Page with a toolbar bar content that is dynamically split onto two bars upon request.
32 * The default header for the Page is set to MauiKit ToolBar, which is divided into three main sections; the left and right side section are the one that can be wrapped into another tool bar when requested - for example, due to space constrains.
37 * For it to work just populate the left and right side sections. And then set a constrain check on the `split` property.
38 * When it is set to `split: true`, the left and right side contents will be moved to a new tool bar under the main header.
45 * @warning It is important to not change the `header` to a different control. PageLayout depends on MauiKit ToolBar being used.
47 * If it is desired to keep any controls from moving out of the main header, use the `farLeftContent` and/or `farRightContent` properties for placing such items, that will insure those items will stay always in place.
87 * <a href="https://invent.kde.org/maui/mauikit/-/blob/qt6-2/examples/PageLayout.qml">You can find a more complete example at this link.</a>
97 property list<QtObject> leftContent
108 * @note The contents are placed using a RowLayout, so use the layout attached properties accordingly.
113 * @brief Whether the toolbar content should be wrapped - as in split - into a new secondary toolbar.
140 Maui.Controls.level: control.Maui.Controls.level ? control.Maui.Controls.level : Maui.Controls.Secondary
149 Qt.rect(0, (_headBar.position === ToolBar.Header ? control.headBar.background.height : control.pageContent.height - _headBar.background.height), _headBar.background.width, _headBar.background.height)
150 : Qt.rect(0, (_headBar.position === ToolBar.Header ? 0 - (_headBar.background.height) : control.pageContent.height), _headBar.background.width, _headBar.background.height))
An alternative to QQC2 ToolBar, with a custom horizontal layout - divided into three main sections - ...
Definition ToolBar.qml:115
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 1 2024 18:54:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 1 2024 18:54:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.