MauiKit Controls
controls.h
13 * This object exposes a series of attached properties useful for the MauiKit controls as a sort of common set of metadata.
15 * @note This is mean to be used as an attached property. It can be consumed as `Maui.Controls`, for example, `Maui.Controls.showCSD`
22 QML_UNCREATABLE("Cannot be created. Controls object is a set of metadata information to be attached")
26 * @note Some controls depend on this property to be set in order show revelant information. For example, for the SplitViewItem, when requesting to close a view, the view can be referenced by the given title.
36 * @image html controls_subtitle_menu.png "Menu with header information: title, subtitle and icon source"
78 * Whether a supported MauiKit control should display the window control buttons when using client side decorations.
88 * Set a UI element hierarchy level. For example, in a page with two toolbars one could be `Level::Primary`, and the other one `Level::Secondary`, this will allow to better style the toolbars for differentiation.
128 * A property hint for UI elements to be styled as a flat surface, for example, without a background.
129 * Although some controls have this property implicitly available, some other controls do not, and thus this is the way to set it.
193 * Some controls might depend of a custom Component to be rendered. Some of those controls include:
197 * @note The Menu control depends on this custom property to set a custom menu header, instead of the default one that relies on a title, subtitle, and icon source.
QQmlComponent * component
Some controls might depend of a custom Component to be rendered.
Definition controls.h:201
QString toolTipText
The text to be shown in the tool-tip when hovering over the tab button representing the view.
Definition controls.h:75
Status status
Mark the supported widget in one of the given status, which will alterate its look.
Definition controls.h:190
bool showCSD
Whether a supported MauiKit control should display the window control buttons when using client side ...
Definition controls.h:85
bool flat
A property hint for UI elements to be styled as a flat surface, for example, without a background.
Definition controls.h:132
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.