WindowControls

Search for usage in LXR

WindowControls Class Reference

Properties

var model
 
int side
 

Detailed Description

The window control buttons for windows using client side decorations.

Since
org.mauikit.controls.labs 1.0 \inqmlmodule org.mauikit.controls.labs
org.mauikit.controls.labs 1.0
Note
Although this control name has the "Linux" suffix, the right name for usage is WindowControls.
QQC2.Pane
{
{
anchors.top: parent.top
anchors.left: parent.left
anchors.margins: Style.space.medium
}
}
The MauiKit Style preferences singleton object.
Definition style.h:86
GroupSizes * space
The group of different standard spacing values for consistency in the MauiKit apps.
Definition style.h:186
The window control buttons for windows using client side decorations.

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.

Note
There are different window control buttons themes, and new ones can be created.

Definition at line 6 of file android/WindowControls.qml.

Property Documentation

◆ model

var WindowControls::model
read

Definition at line 11 of file android/WindowControls.qml.

◆ side

int WindowControls::side
read

Definition at line 13 of file android/WindowControls.qml.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 18 2025 12:16:12 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.