org::kde::kirigami::NavigationTabBar
Inherits QtQuick.Templates.Toolbar, and TemplatesoolBar.
Properties | |
color | backgroundColor |
T | ButtonGroup |
real | buttonWidth |
int | count |
int | currentIndex |
color | foregroundColor |
color | highlightBarColor |
color | highlightForegroundColor |
list | Kirigami |
real | maximumContentWidth |
bool | recolorIcons |
bool | shadow |
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 118 of file NavigationTabBar.qml.
Property Documentation
◆ backgroundColor
|
read |
This property holds the background color of the toolbar.
default: Kirigami.Theme.highlightColor
Definition at line 134 of file NavigationTabBar.qml.
◆ ButtonGroup
|
read |
This property holds the ButtonGroup used to manage the tabs.
- Remarks
- This property is read-only
Definition at line 171 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 187 of file NavigationTabBar.qml.
◆ count
|
read |
This property holds the number of tab buttons.
- Remarks
- This property is read-only
Definition at line 166 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 161 of file NavigationTabBar.qml.
◆ foregroundColor
|
read |
This property holds the foreground color of the toolbar (text, icon).
Definition at line 138 of file NavigationTabBar.qml.
◆ highlightBarColor
|
read |
This property holds the color of the highlight bar when an action is checked.
default: Kirigami.Theme.highlightColor
Definition at line 148 of file NavigationTabBar.qml.
◆ highlightForegroundColor
|
read |
This property holds the highlight foreground color (text, icon when action is checked).
Definition at line 142 of file NavigationTabBar.qml.
◆ Kirigami
|
read |
This property holds the list of actions displayed in the toolbar.
Definition at line 124 of file NavigationTabBar.qml.
◆ maximumContentWidth
|
read |
The property holds the maximum width of the toolbar actions, before margins are added.
Definition at line 128 of file NavigationTabBar.qml.
◆ recolorIcons
|
read |
This property sets whether the icon colors should be masked with a single color.
This only applies to buttons generated by the actions property.
default: true
- Since
- 5.96
Definition at line 181 of file NavigationTabBar.qml.
◆ shadow
|
read |
This property sets whether the toolbar should provide its own shadow.
default: true
Definition at line 154 of file NavigationTabBar.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Jan 31 2023 04:10:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.