Liri Fluid API

TabbedPage QML Type

Page with tabs. More...

Import Statement: import Fluid.Controls 1.1

Properties

Detailed Description


  import QtQuick 2.10
  import Fluid.Controls 1.0 as FluidControls

  FluidControls.ApplicationWindow {
      title: "Application Name"
      width: 1024
      height: 800
      visible: true

      initialPage: FluidControls.TabbedPage {
          FluidControls.Tab {
              title: "Tab 1"

              Label {
                  anchors.centerIn: parent
                  text: "Hello World!"
              }
          }

          FluidControls.Tab {
              title: "Tab 2"

              Label {
                  anchors.centerIn: parent
                  text: "Hello World!"
              }
          }
      }
  }

Property Documentation

[read-only] count : int

Number of tabs.


[read-only] currentIndex : int

Index of the currently selected tab.


[read-only] selectedTab : Item

The currently selected tab.


[read-only] tabBar : ToolBar

Tool bar that contains tabs.


tabs : TabBar

Tab bar.