TabView
A control that allows the user to select one of multiple stacked items. More...
Inherits FocusScope
This type was introduced in QtQuick.Controls 1.0.
Properties
- count : int
- currentIndex : int
- frameVisible : bool
- tabPosition : enumeration
- tabsVisible : bool
Methods
- addTab(title, component)
- getTab(index)
- insertTab(index, title, component)
- moveTab(from, to)
- removeTab(index)
Detailed Description
You can create a custom appearance for a TabView by assigning a TabViewStyle.
Property Documentation
count : int |
The current tab count
currentIndex : int |
The current tab index
frameVisible : bool |
The visibility of the tab frame around contents
tabPosition : enumeration |
- Qt.TopEdge (default)
- Qt.BottomEdge
tabsVisible : bool |
The visibility of the tab bar
Method Documentation
Adds a new tab page with title with and optional Component. Returns the newly added tab.
Returns the Tab item at index.
Inserts a new tab with title at index, with an optional Component. Returns the newly added tab.