BaseWindow

Properties | |
bool | canResizeH |
bool | canResizeV |
alias | content |
bool | isDialog |
bool | isFullScreen |
bool | isMaximized |
bool | isPortrait |
bool | isWide |
![]() | |
alias | pageStack |
Public Member Functions | |
void | notify (icon, title, body, actions) |
void | toggleFullscreen () |
void | toggleMaximized () |
![]() | |
afterAnimating () | |
alert (int msec) | |
close () | |
closing (CloseEvent close) | |
frameSwapped () | |
hide () | |
lower () | |
raise () | |
requestActivate () | |
sceneGraphError (SceneGraphError error, QString message) | |
show () | |
showFullScreen () | |
showMaximized () | |
showMinimized () | |
showNormal () | |
![]() | |
void | about () |
void | setAndroidStatusBarColor () |
Detailed Description
A base window implementation for window dialogs and the main application window.
For using a detached dialog window use the WindowDialog control.
Definition at line 30 of file BaseWindow.qml.
Property Documentation
◆ canResizeH
|
read |
- Remarks
- This property is read-only
Definition at line 76 of file BaseWindow.qml.
◆ canResizeV
|
read |
- Remarks
- This property is read-only
Definition at line 79 of file BaseWindow.qml.
◆ content
|
read |
Items to be placed inside the ApplicationWindow.
- Remarks
- This is the default property
This is used as the default container, and it helps to correctly mask the contents when using CSD with rounded border corners.
Definition at line 47 of file BaseWindow.qml.
◆ isDialog
|
read |
Definition at line 49 of file BaseWindow.qml.
◆ isFullScreen
|
read |
Convenient property to check if the application window is in a full screen mode.
- Remarks
- This property is read-only
Definition at line 68 of file BaseWindow.qml.
◆ isMaximized
|
read |
Convenient property to check if the application window surface is maximized.
- Remarks
- This property is read-only
Definition at line 63 of file BaseWindow.qml.
◆ isPortrait
|
read |
Convenient property to check if the application window is in portrait mode, otherwise it means it is in landscape mode.
- Remarks
- This property is read-only
Definition at line 73 of file BaseWindow.qml.
◆ isWide
|
read |
Determines when the application window size is wide enough.
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. Keep in mind this property is widely used in other MauiKit components to determined if items should be hidden, collapsed, or expanded, etc.
Definition at line 58 of file BaseWindow.qml.
Member Function Documentation
◆ notify()
void BaseWindow::notify | ( | icon | , |
title | , | ||
body | , | ||
actions | ) |
Send an inline notification.
- Parameters
-
icon icon name to be used title the notification title body the message body of the notification actions a list of possible callback actions, this is represented as a button
◆ toggleFullscreen()
void BaseWindow::toggleFullscreen | ( | ) |
Switch between full-screen mode and normal mode.
◆ toggleMaximized()
void BaseWindow::toggleMaximized | ( | ) |
Switch between maximized and normal state.
The documentation for this class was generated from the following file:
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.