From 50d377d28aea88031be97eade1036baa0b6ceafc Mon Sep 17 00:00:00 2001 From: Antonis Tsiapaliokas Date: Thu, 22 Dec 2011 08:34:01 +0200 Subject: [PATCH] Complete documentation for ToolBar --- .../plasmacomponents/qml/ToolBar.qml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/declarativeimports/plasmacomponents/qml/ToolBar.qml b/declarativeimports/plasmacomponents/qml/ToolBar.qml index fb7ced5de..04dc46320 100644 --- a/declarativeimports/plasmacomponents/qml/ToolBar.qml +++ b/declarativeimports/plasmacomponents/qml/ToolBar.qml @@ -31,14 +31,25 @@ Description: Properties: Item tools: - The current set of tools; null if none. + The ToolBarLayout that contains the ToolButton components that + are contained in the ToolBar. ToolBarLayout is not mandatory. + The default value is NULL. + string transition: - The transition type. One of the following: + The type of transition to be used for the ToolBar when + the page changes on the relevant PageStack. + The possible values can be one of the following: set an instantaneous change (default) push follows page stack push animation pop follows page stack pop animation replace follows page stack replace animation +Methods: + setTools( tools, transition ) + This sets the tools for the ToolBar and the transition type that + will be used when the page changes on the relevant PageStack. + @arg Item tools see tool property + @arg string transition see transition property **/ import QtQuick 1.1