NavigationTabBar
Inherits QtQuick.Templates.Toolbar, and QtQuick::Controls::QtQuick::TemplatesoolBar.
Properties | |
listTAction | actions |
real | buttonWidth |
int | count |
int | currentIndex |
real | maximumContentWidth |
TButtonGroup | tabGroup |
listTAction | visibleActions |
Detailed Description
Page navigation tab-bar, used as an alternative to sidebars for 3-5 elements.
Can be combined with secondary toolbars above (if in the footer) to provide page actions.
Example usage:
- See also
- NavigationTabButton
- Since
- 5.87
- org.kde.kirigami 2.19
Definition at line 114 of file NavigationTabBar.qml.
Property Documentation
◆ actions
|
read |
This property holds the list of actions to be displayed in the toolbar.
Definition at line 120 of file NavigationTabBar.qml.
◆ buttonWidth
|
read |
This property holds the calculated width that buttons on the tab bar use.
- Since
- 5.102
Definition at line 156 of file NavigationTabBar.qml.
◆ count
|
read |
This property holds the number of tab buttons.
- Remarks
- This property is read-only
Definition at line 145 of file NavigationTabBar.qml.
◆ currentIndex
|
read |
This property holds the index of currently checked tab.
If the index set is out of bounds, or the triggered signal did not change any checked property of an action, the index will remain the same.
Definition at line 140 of file NavigationTabBar.qml.
◆ maximumContentWidth
|
read |
The property holds the maximum width of the toolbar actions, before margins are added.
Definition at line 133 of file NavigationTabBar.qml.
◆ tabGroup
|
read |
This property holds the ButtonGroup used to manage the tabs.
- Remarks
- This property is read-only
Definition at line 150 of file NavigationTabBar.qml.
◆ visibleActions
|
read |
This property holds a subset of visible actions of the list of actions.
An action is considered visible if it is either a Kirigami.Action with visible
property set to true, or it is a plain QQC2.Action.
- Remarks
- This property is read-only
Definition at line 128 of file NavigationTabBar.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Apr 27 2024 22:13:10 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.