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

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 61 of file App.qml.

Property Documentation

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

The "main view".

Definition at line 72 of file App.qml.

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

Navigation or Context Area.

Definition at line 67 of file App.qml.

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

the topBar's ToolBar.tools

Definition at line 77 of file App.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jul 9 2020 22:40:34 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.