> For the complete documentation index, see [llms.txt](https://docs.novaflowos.com/start/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novaflowos.com/start/mauikit/controles/tabview.md).

# TabView

Muestra una vista de pestañas.

```
import QtQuick 2.15
import QtQuick.Controls 2.15
import org.mauikit.controls 1.3 as Maui

Maui.ApplicationWindow
{
    id: root

    Maui.TabView
    {
        anchors.fill: parent

        tabBar.rightContent : Switch
        {
        }

        Rectangle
        {
            Maui.TabViewInfo.tabTitle: "Tab 1"
            color: Maui.Theme.backgroundColor
            Label {
                anchors.centerIn: parent
                text: "Tab 1"
            }
        }

        Rectangle
        {
            Maui.TabViewInfo.tabTitle: "Tab 2"
            Maui.TabViewInfo.tabIcon: "love"
            color: Maui.Theme.backgroundColor
            Label {
                anchors.centerIn: parent
                text: "Tab 2"
            }
        }
    }
}
```

<figure><img src="https://3899745996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FED1v8xhNFPWKlgOCuryr%2Fuploads%2F5xl0XLJISHQVvO4ftxbr%2FControls-TabView-1.jpg?alt=media&amp;token=f2867fc9-174c-4f8b-8164-2c80dea3f59d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3899745996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FED1v8xhNFPWKlgOCuryr%2Fuploads%2FHKM07PP6qsNdTSXqBQE8%2FControls-TabView-2.jpg?alt=media&amp;token=596f92cc-e559-427f-af69-6a36471a78c4" alt=""><figcaption></figcaption></figure>

## Propiedades

{% embed url="<https://api.kde.org/mauikit/mauikit/html/classTabView.html>" %}
