PlasmaExtraComponents
App Class Reference
Inheritance diagram for App:
Properties | |
Item | content |
alias | contentArea |
int | contentWidth |
Item | navigation |
int | navigationWidth |
int | space |
Item | tools |
Detailed Description
This is a container for Apps.
- Since
- 0.1 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.
Example usage:
import QtQuick 1.1
import org.kde.plasma.core 0.1 as PlasmaCore
import org.kde.plasma.extras 0.1 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
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.