MauiKit Controls
TabBar.qml
14 * <a href="https://doc.qt.io/qt-6/qml-qtquick-controls-tabbar.html">This controls inherits from QQC2 TabBar, to checkout its inherited properties refer to the Qt Docs.</a>
19 * The middle area is reserved for placing the tab buttons. The right and left side areas can be populated with any child item.
21 * All the child items are expected to be a TabButton or inherit from it. If you need to add an extra button, label or other item, consider adding them using the left and right containerizes.
50 * The contents of this bar will become flickable/scrollable if the implicit width of the child elements is higher than the available width.
51 * When using it on a mobile device and a flick/swipe action is performed by the user, a signal will be emitted informing about the tab focused in the view port.
54 * @note This control supports the attached Controls.showCSD property to display the window control buttons when using CSD.
63 * @brief An alias to manually add elements to the container directly. This is the middle section of the control.
105 * @brief This signal is emitted when a new tab button is focused after a swipe/flick action has been performed.
113 color: control.Maui.Controls.level ? control.Maui.Controls.level === Maui.Controls.Primary ? Maui.Theme.backgroundColor : Maui.Theme.alternateBackgroundColor : Maui.Theme.backgroundColor
void newTabClicked()
This signal is emitted when the "add new tab" button has been clicked.
alias interactive
Whether the control will react to touch events to flick the tabs.
Definition TabBar.qml:75
void newTabFocused(int index)
This signal is emitted when a new tab button is focused after a swipe/flick action has been performed...
bool showNewTabButton
Whether to display a button which represents the "add new tab" action.
Definition TabBar.qml:81
KGuiItem properties()
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:57:11 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:57:11 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.