이 페이지에서

TabButton QML Type

TabBar 에 어울리는 디자인의 버튼. 더 보기...

Import Statement: import QtQuick.Controls
Inherits:

AbstractButton

상세 설명

탭 바의 탭 버튼

TabButton은 TabBar 와 함께 사용됩니다.

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

TabButton은 AbstractButton 에서 API를 상속받습니다. 예를 들어, text 을 설정하고, AbstractButton API를 사용하여 clicks 에 반응할 수 있습니다.

TabBar, TabButton 사용자 지정, 버튼 컨트롤 및 탐색 컨트롤항목도 참조하십시오 .

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.