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:
- Since
- KDE Frameworks 5.87
- org.kde.kirigami 2.19
Definition at line 115 of file NavigationTabBar.qml.
Property Documentation
◆ backgroundColor
|
read |
This property holds the background color of the toolbar.
default: Kirigami.Theme.highlightColor
Definition at line 131 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 168 of file NavigationTabBar.qml.
◆ buttonWidth
|
read |
This property holds the calculated width that buttons on the tab bar use.
- Since
- KDE Frameworks 5.102
Definition at line 184 of file NavigationTabBar.qml.
◆ count
|
read |
This property holds the number of tab buttons.
- Remarks
- This property is read-only
Definition at line 163 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 158 of file NavigationTabBar.qml.
◆ foregroundColor
|
read |
This property holds the foreground color of the toolbar (text, icon).
Definition at line 135 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 145 of file NavigationTabBar.qml.
◆ highlightForegroundColor
|
read |
This property holds the highlight foreground color (text, icon when action is checked).
Definition at line 139 of file NavigationTabBar.qml.
◆ Kirigami
|
read |
This property holds the list of actions displayed in the toolbar.
Definition at line 121 of file NavigationTabBar.qml.
◆ maximumContentWidth
|
read |
The property holds the maximum width of the toolbar actions, before margins are added.
Definition at line 125 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
- KDE Frameworks 5.96
Definition at line 178 of file NavigationTabBar.qml.
◆ shadow
|
read |
This property sets whether the toolbar should provide its own shadow.
default: true
Definition at line 151 of file NavigationTabBar.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Dec 7 2023 04:08:47 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.