TabButton QML Type | Qt Quick Controls 6.3.2

- Qt 6.3
- Qt Quick Controls
- QML Types
- TabButton
- Qt 6.3.2 Reference Documentation

# TabButton QML Type

Button with a look suitable for a TabBar. More...

Import Statement: | import QtQuick.Controls
Since: | Qt 5.7
Inherits: | AbstractButton

- List of all members, including inherited members

## Detailed Description

TabButton is used in conjunction with a TabBar.

     TabBar {
         TabButton {
             text: qsTr("Home")
         }
         TabButton {
             text: qsTr("Discover")
         }
         TabButton {
             text: qsTr("Activity")
         }
     }

TabButton inherits its API from AbstractButton. For instance, you can set text, and react to clicks using the AbstractButton API.

See also TabBar, Customizing TabButton, Button Controls, and Navigation Controls.