org::kde::plasma::extras::App

Search for usage in LXR

org::kde::plasma::extras::App Class Reference

Inherits Item.

Properties

Item content
 
alias contentArea
 
int contentWidth
 
Item navigation
 
int navigationWidth
 
int space
 
Item tools
 

Detailed Description

This is a container for Apps.

Since
2.0 Navigation and Content area layout can vary depending on the available size. This class can be used as top level Item or inside your top-level item. It will manage context or navigation area, content area and toolbars in a way consistent with other apps, and adaptive to the device.
Remarks
App is experimental, its API might change.
Deprecated:
: use org.kde.kirigami ApplicationWindow or QtQuick.Controls 2.0 ApplicationWindow

Example usage:

import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.extras 2.0 as PlasmaExtras
PlasmaExtras.App {
id: app
width: 800
height: 600
navigation: navigationItem
content: contentItem
Item {
id: navigationItem
// [...] this is the navigation area
}
Loader {
id: contentItem
source: "gallery/Extras.qml"
parent: contentArea
}
}

Definition at line 48 of file App.qml.

Property Documentation

◆ content

Item org::kde::plasma::extras::App::content
read

The "main view".

Definition at line 59 of file App.qml.

◆ navigation

Item org::kde::plasma::extras::App::navigation
read

Navigation or Context Area.

Definition at line 54 of file App.qml.

◆ tools

Item org::kde::plasma::extras::App::tools
read

the topBar's ToolBar.tools

Definition at line 64 of file App.qml.


The documentation for this class was generated from the following file:
Item navigation
Navigation or Context Area.
Definition: App.qml:54
Item content
The "main view".
Definition: App.qml:59
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Mar 23 2023 04:18:17 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.