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
}
}
Property Documentation
◆ content
|
read |
◆ navigation
|
read |
◆ tools
|
read |
The documentation for this class was generated from the following file:
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
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.