MauiKit Controls
BaseWindow.qml
45 flags: Maui.CSD.enabled? (Qt.FramelessWindowHint | (control.isDialog ? Qt.Dialog : Qt.Window) ): ((control.isDialog ? Qt.Dialog : Qt.Window) & ~Qt.FramelessWindowHint)
58 }
63 Maui.Theme.colorSet: isDialog ? Maui.Theme.Window : Maui.Theme.Window
67 * This is used as the default container, and it helps to correctly mask the contents when using CSD with rounded border corners.
80 * This property can be changed to any arbitrary condition. This will affect how some controls are positioned and displayed - as for a true wide value, it will assume there is more space to place contents, or for a `false` value it will work in the opposite way.
81 * Keep in mind this property is widely used in other MauiKit components to determined if items should be hidden, collapsed, or expanded, etc.
96 * @brief Convenient property to check if the application window is in portrait mode, otherwise it means it is in landscape mode.
98 readonly property bool isPortrait: Screen.primaryOrientation === Qt.PortraitOrientation || Screen.primaryOrientation === Qt.InvertedPortraitOrientation
100 readonly property bool canResizeH: control.width !== control.maximumWidth || control.width !== control.minimumWidth
101 readonly property bool canResizeV: control.height !== control.maximumHeight || control.height !== control.maximumHeight
109 readonly property bool showBorders: Maui.CSD.enabled && control.visibility !== Window.FullScreen && !Maui.Handy.isMobile && control.visibility !== Window.Maximized
215 color: Qt.rgba( control.Maui.Theme.backgroundColor.r, control.Maui.Theme.backgroundColor.g, control.Maui.Theme.backgroundColor.b, 0.7)
bool isMaximized
Convenient property to check if the application window surface is maximized.
Definition BaseWindow.qml:63
bool isPortrait
Convenient property to check if the application window is in portrait mode, otherwise it means it is ...
Definition BaseWindow.qml:73
bool isFullScreen
Convenient property to check if the application window is in a full screen mode.
Definition BaseWindow.qml:68
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:57:11 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:57:11 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.