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) |
![]() | |
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
Property Documentation
◆ 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
|
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
|
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 | ||
) |
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
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.