MQWidget.Tab class

A tab class.

Super classes: MQWidget.WidgetBase

Property

get set Type Name Description
x x int currentPage a current page
x x bool showTab a tab header visibility
x x bool exclusive an exclusive mode for child widgets

Method

Member Description
Tab Constructor.
getTabTitle Get a tab title.
setTabTitle Set a tab title.

Tab([parent])

Constructor.

Parameters:
MQWidget.WidgetBase parent - A parent widget

getTabTitle(index)

Get a tab title.

Parameters:
int index - an index of a tab
Return value:
string - title

setTabTitle(index, title)

Set a tab title.

Parameters:
int index - an index of a tab
string title - a title