ThemeTabControl

Defines style of the TabControl. More...

Import Statement: import VPlayApps 1.0
Inherits:

QtObject

Properties

Detailed Description

This type is used in the global Theme object for the appearance of TabControl.

Property Documentation

backgroundColor : color

The background color fills the TabControl's background.

By default, the color matches the target platform.


dividerColor : color

The divider is displayed as a thin line at the very top of the tab bar. Override the divider color to customize the look of the divider.

By default, this is chosen to match the target platform.


fontBold : bool

Whether the tab title is displayed bold. Matches platform-specific values by default.

This QML property was introduced in V-Play 2.7.0.


fontCapitalization : int

The Text::font.capitalization setting of the title. Matches platform-specific settings by default.

This QML property was introduced in V-Play 2.7.0.


height : real

Height of the tab bar, in pixels.

By default, this is chosen to match the target platform.


iconSize : real

The size of the tab icons used for tab bar, in pixels. This value matches platform specific values and should only be overridden if customization is needed.

This QML property was introduced in V-Play 2.7.0.


markerColor : color

The color of the bottom line that marks the active tab on Android.

This QML property was introduced in V-Play 2.7.0.


showIcon : bool

Whether the specified icon should be shown within a tab. By default, the icon is hidden on Android and visible on iOS.

This QML property was introduced in V-Play 2.7.0.


subTabTextSize : real

The size of the title displayed for each tab. The default setting matches platform specific values. This property only applies for sub-tabs based on AppTabButton.

This QML property was introduced in V-Play 2.9.2.


subTabTitleColor : color

The title color defines the font color of the currently selected title label and the icon. This color only applies for sub-tabs based on AppTabButton. By default this property matches the target platform.

This QML property was introduced in V-Play 2.9.2.


subTabTitleOffColor : color

The off color defines the font color of the title label and the icon of all tabs except the selected one. This color only applies for sub-tabs based on AppTabButton. By default this property matches the target platform.

This QML property was introduced in V-Play 2.9.2.


textMaximumLineCount : int

The Maximum line count for the title text of each tab. Matches platform specific values by default.

This QML property was introduced in V-Play 2.7.0.


textSize : real

The size of the title displayed for each tab. Matches platform specific values. This property only applies for main-tabs based on NavigationItem.

This QML property was introduced in V-Play 2.7.0.


titleColor : color

The title color defines the font color of the currently selected title label and the icon. This color only applies for main-tabs based on NavigationItem.

By default this property matches the target platform.


titleOffColor : color

The off color defines the font color of the title label and the icon for tabs that are not selected. This color only applies for main-tabs based on NavigationItem.

By default this property matches the target platform.


Videos

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support