BaseWindow

Search for usage in LXR

BaseWindow Class Reference
Inheritance diagram for BaseWindow:

Properties

bool canResizeH
 
bool canResizeV
 
alias content
 
bool isDialog
 
bool isFullScreen
 
bool isMaximized
 
bool isPortrait
 
bool isWide
 
- Properties inherited from ApplicationWindow
alias pageStack
 

Public Member Functions

void notify (icon, title, body, actions)
 
void toggleFullscreen ()
 
void toggleMaximized ()
 
- Public Member Functions inherited from QtQuick.Window
 afterAnimating ()
 
 alert (int msec)
 
 close ()
 
 closing (CloseEvent close)
 
 frameSwapped ()
 
 hide ()
 
 lower ()
 
 raise ()
 
 requestActivate ()
 
 sceneGraphError (SceneGraphError error, QString message)
 
 show ()
 
 showFullScreen ()
 
 showMaximized ()
 
 showMinimized ()
 
 showNormal ()
 
- Public Member Functions inherited from ApplicationWindow
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

bool BaseWindow::canResizeH
read
Remarks
This property is read-only

Definition at line 76 of file BaseWindow.qml.

◆ canResizeV

bool BaseWindow::canResizeV
read
Remarks
This property is read-only

Definition at line 79 of file BaseWindow.qml.

◆ content

alias BaseWindow::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

bool BaseWindow::isDialog
read

Definition at line 49 of file BaseWindow.qml.

◆ isFullScreen

bool BaseWindow::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

bool BaseWindow::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

bool BaseWindow::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

bool BaseWindow::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
iconicon name to be used
titlethe notification title
bodythe message body of the notification
actionsa 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:
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.