WindowControlsLinux
Inherits Loader.
Detailed Description
The window control buttons for windows using client side decorations.
- Since
- org.mauikit.controls.labs 1.0
- Note
- Although this control name has the "Linux" suffix, the right name for usage is WindowControls. QQC2.Pane{WindowControls{anchors.top: parent.topanchors.left: parent.left}}GroupSizes * spaceThe group of different standard spacing values for consistency in the MauiKit apps.Definition style.h:185
This control takes care of drawing the window buttons, and when triggered it performs the associated actions such as close, minimize and maximize.
It is loaded asynchronous, and only active if the client side decorations have been enabled and the form factor of the device is on desktop mode. Consider only using it in cases where the main application window container does not support the attached property Controls.showCSD.
Some of the containers and items that support the formerly mentioned attached property are:
For more details on the implementation of this control and how to customize it you can refer to CSDControls.
![](themes.png)
- Note
- There are different window control buttons themes, and new ones can be created.
Definition at line 40 of file WindowControlsLinux.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:50:53 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.