TabbedPage QML Type
Page with tabs. More...
Import Statement: | import Fluid.Controls 1.1 |
Properties
- count : int
- currentIndex : int
- selectedTab : Item
- tabBar : ToolBar
- tabs : TabBar
Methods
- void addTab(Tab tab)
- void decrementCurrentIndex()
- Tab getTab(int index)
- void incrementCurrentIndex()
- void removeTab(int index)
- void setCurrentIndex(int index)
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
Method Documentation
void addTab(Tab tab) |
Add a tab programmatically to the page.
Decrement current index.
See also currentIndex.
Tab getTab(int index) |
Return the tab with index.
Increment current index.
See also currentIndex.