Button with a look suitable for a TabBar . 更多...
import 语句: | import QtQuick.Controls 2.15 |
Since: | Qt 5.7 |
继承: |
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 使用 AbstractButton API.
另请参阅 TabBar , Customizing TabButton , 按钮控件 ,和 导航控件 .