TabButton QML Type
Button with a look suitable for a TabBar. More...
Detailed Description
\inherits
AbstractButton \inqmlmodule
QtQuick.Controls \since
5.7 \ingroup
qtquickcontrols-navigation
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.