W3cubDocs

/Qt 5.15

Tab QML Type

Tab represents the content of a tab in a TabView. More...

Import Statement: import QtQuick.Controls 1.4
Since: Qt 5.1
Inherits:

Loader

Properties

Detailed Description

A Tab item inherits from Loader and provides a similar API.

Tabs are lazily loaded; only tabs that have been made current (for example, by clicking on them) will have valid content. You can force loading of tabs by setting the active property to true:

Tab {
    active: true
}

See also TabView.

Property Documentation

title : string

This property holds the title of the tab.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qml-qtquick-controls-tab.html