• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

PlasmaExtraComponents

Properties | List of all members
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
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
}
}

Definition at line 59 of file App.qml.

Property Documentation

Item App::content

The "main view".

Definition at line 70 of file App.qml.

alias App::contentArea

Definition at line 77 of file App.qml.

int App::contentWidth

Definition at line 83 of file App.qml.

Item App::navigation

Navigation or Context Area.

Definition at line 65 of file App.qml.

int App::navigationWidth

Definition at line 81 of file App.qml.

int App::space

Definition at line 79 of file App.qml.

Item App::tools

the topBar's ToolBar.tools

Definition at line 75 of file App.qml.


The documentation for this class was generated from the following file:
  • App.qml
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

PlasmaExtraComponents

Skip menu "PlasmaExtraComponents"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal