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

Search for usage in LXR

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, real x, real y)
 
object mapFromItem (item, real x, real y, real width, real height)
 
object mapFromItem (item, rect r)
 
object mapToGlobal (x, real y)
 
object mapToItem (item, point p)
 
object mapToItem (item, real x, real y)
 
object mapToItem (item, real x, real y, real width, real height)
 
object mapToItem (item, rect r)
 
 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

◆ margins

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

margins margins from the toolbar to the contents.

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

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

◆ tools

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

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 34 of file qml/ToolBar.qml.

◆ transition

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

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 46 of file qml/ToolBar.qml.

Member Function Documentation

◆ setTools()

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-2023 The KDE developers.
Generated on Mon May 8 2023 04:07:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.