Qt Reference Documentation

# UI Components: Tab Widget Example

Files:

- declarative/ui-components/tabwidget/tabwidget.svg
- declarative/ui-components/tabwidget/qml/tabwidget/TabWidget.qml
- declarative/ui-components/tabwidget/qml/tabwidget/main.qml
- declarative/ui-components/tabwidget/main.cpp
- declarative/ui-components/tabwidget/tabwidget.pro
- declarative/ui-components/tabwidget/tabwidget.qmlproject

This example shows how to create a tab widget. It also demonstrates how property aliases and default properties can be used to collect and assemble the child items declared within an Item.