org::kde::plasma::components::ToolBar

org::kde::plasma::components::ToolBar Class Reference
Inheritance diagram for org::kde::plasma::components::ToolBar:

Properties

Object margins
 
Item tools
 
string transition
 

Public Member Functions

void setTools (Item tools, string transition)
 
- Public Member Functions inherited from QtQuick.Item
 childAt (x, real y)
 
bool contains (point)
 
 forceActiveFocus ()
 
 forceActiveFocus (reason)
 
bool grabToImage (callback, targetSize)
 
object mapFromGlobal (x, real y)
 
object mapFromItem (item, point p)
 
object mapFromItem (item, rect r)
 
object mapFromItem (item, real x, real y)
 
object mapFromItem (item, real x, real y, real width, real height)
 
object mapToGlobal (x, real y)
 
object mapToItem (item, rect r)
 
object mapToItem (item, real x, real y)
 
object mapToItem (item, point p)
 
object mapToItem (item, real x, real y, real width, real height)
 
 nextItemInFocusChain (forward)
 

Detailed Description

A plasma theme based toolbar.

Since
2.0
3.0

Definition at line 14 of file qml/ToolBar.qml.

Property Documentation

Object org::kde::plasma::components::ToolBar::margins

margins margins from the toolbar to the contents.

It has 4 properties: left, top, right, bottom

Definition at line 21 of file qml/ToolBar.qml.

Item org::kde::plasma::components::ToolBar::tools

The ToolBarLayout that contains the ToolButton components that are contained in the ToolBar.

ToolBarLayout is not mandatory.

The default value is null.

Definition at line 28 of file qml/ToolBar.qml.

string org::kde::plasma::components::ToolBar::transition

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

Definition at line 40 of file qml/ToolBar.qml.

Member Function Documentation

void org::kde::plasma::components::ToolBar::setTools ( Item  tools,
string  transition 
)

This sets the tools for the ToolBar and the transition type that will be used when the page changes on the relevant PageStack.

Parameters
toolssee tool property
transitionsee transition property

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 Sep 17 2020 22:41:14 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.