Qt 5.7 | Qt Quick Controls 2 | QML Types | TabButton QML Type

Qt 5.7.1 Reference Documentation

# TabButton QML Type

A tab button control that can be found on a TabBar. More...

Import Statement: | import QtQuick.Controls 2.0
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")
          }
      }

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