org::kde::kirigami::ActionToolBar

org::kde::kirigami::ActionToolBar Class Reference

Inherits Item.

Properties

alias actions
 
alias alignment
 
int display
 
bool flat
 
list< QtObject > hiddenActions
 
alias maximumContentWidth
 
string overflowIconName
 
int position
 
alias visibleWidth
 

Detailed Description

This is a simple toolbar built out of a list of actions each action is represented by a ToolButton, those that won't fit the size will go in a menu under a button with the overflow ...

icon

Item

Since
2.5

Definition at line 19 of file ActionToolBar.qml.

Property Documentation

alias org::kde::kirigami::ActionToolBar::actions

actions: list<Action> if the card should provide clickable actions, put them in this property, they will be put in the footer as a list of ToolButtons plus an optional overflow menu, when not all of them will fit in the available Card width.

Definition at line 27 of file ActionToolBar.qml.

int org::kde::kirigami::ActionToolBar::display

display: enum This controls the label position regarding the icon, is the same value to control individual Button components, permitted values are:

  • Button.IconOnly
  • Button.TextOnly
  • Button.TextBesideIcon
  • Button.TextUnderIcon

Definition at line 50 of file ActionToolBar.qml.

bool org::kde::kirigami::ActionToolBar::flat

flat: bool Wether we want our buttons to have a flat appearance.

Default: true

Definition at line 40 of file ActionToolBar.qml.

list<QtObject> org::kde::kirigami::ActionToolBar::hiddenActions

actions: hiddenActions<Action> This list of actions is for those you always want in the menu, even if there is enough space.

Since
2.6
Deprecated:
since 2.14, use the AlwaysHide hint on actions instead.

Definition at line 35 of file ActionToolBar.qml.

alias org::kde::kirigami::ActionToolBar::maximumContentWidth

The maximum width of the contents of this ToolBar.

If the toolbar's width is larger than this value, empty space will be added on the sides, according to the Alignment property.

The value of this property is derived from the ToolBar's actions and their properties.

Remarks
This property is read-only

Definition at line 70 of file ActionToolBar.qml.

string org::kde::kirigami::ActionToolBar::overflowIconName

The name of the icon to use for the overflow menu button.

Since
5.65
2.12

Definition at line 77 of file ActionToolBar.qml.

int org::kde::kirigami::ActionToolBar::position

position enum This property holds the position of the toolbar.

if this ActionToolBar is the contentItem of a QQC2 Toolbar, the position is binded to the ToolBar's position

permitted values are: *ToolBar.Header: The toolbar is at the top, as a window or page header. *ToolBar.Footer: The toolbar is at the bottom, as a window or page footer.

Definition at line 62 of file ActionToolBar.qml.


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 Tue Aug 4 2020 22:37:18 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.