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

PlasmaComponents

Public Member Functions | Properties | List of all members
ToolBar Class Reference
Inheritance diagram for ToolBar:
Inheritance graph
[legend]

Public Member Functions

void setTools (Item tools, string transition)
 

Properties

Object margins
 
Item tools
 
string transition
 

Detailed Description

A plasma theme based toolbar.

Since
0.1

Definition at line 25 of file ToolBar.qml.

Member Function Documentation

void 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

Property Documentation

Object ToolBar::margins

margins margins from the toolbar to the contents.

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

Definition at line 32 of file ToolBar.qml.

Item 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 39 of file ToolBar.qml.

string 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 51 of file ToolBar.qml.


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

KDE's Doxygen guidelines are available online.

PlasmaComponents

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

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