TabButton QML Type▲
-
Import Statement: import QtQuick.Controls
-
Inherits: AbstractButton
-
Group: TabButton is part of qtquickcontrols-navigation
Detailed Description▲
TabButton is used in conjunction with a TabBar.
Sélectionnez
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.