Symbian: Provides platform-specific style parameters for fonts, colors, and layouts. More...
This element was introduced in Qt Quick Components 1.0.
You should use these parameters when you want to make your UI consistent with the Symbian platform style. Symbian-style is exposed as a context property named platformStyle. It is not possible to instantiate a Style object in QML, but the style must be accessed through the context property.
The actual return values of the properties may vary between device configurations. For example, if the resolutions of two devices are different, it is probable that the pixel values of the properties are different.
The following example illustrates how to use the style parameters.
Item { width: text.width + icon.width + platformStyle.paddingSmall + 2 * platformStyle.paddingMedium height: Math.max(text.height, icon.height) + 2 * platformStyle.paddingMedium Image { id: icon anchors.left: parent.left anchors.leftMargin: platformStyle.paddingMedium anchors.verticalCenter: parent.verticalCenter width: platformStyle.graphicSizeSmall height: platformStyle.graphicSizeSmall ... } Text { id: text anchors.left: icon.right anchors.leftMargin: platformStyle.paddingSmall anchors.right: parent.right anchors.rightMargin: platformStyle.paddingMedium anchors.verticalCenter: parent.verticalCenter font.family: platformStyle.fontFamilyRegular font.pixelSize: platformStyle.fontSizeLarge color: platformStyle.colorNormalLight ... } }
The default application background color.
This property group was introduced in Qt Quick Components 1.1.
The inverted counterpart of the colorBackground. For more information, see Using Inverted Style with Symbian Components.
This property group was introduced in Qt Quick Components 1.1.
The foreground color for the checked state. Deprecated since 1.1 - use colorLatched instead.
The inverted counterpart of the colorDisabledDark. For more information, see Using Inverted Style with Symbian Components.
This property group was introduced in Qt Quick Components 1.1.
The inverted counterpart of the colorDisabled. For more information, see Using Inverted Style with Symbian Components.
This property group was introduced in Qt Quick Components 1.1.
The inverted counterpart of the colorDisabled. For more information, see Using Inverted Style with Symbian Components.
This property group was introduced in Qt Quick Components 1.1.
The inverted counterpart of the colorHighlighted. For more information, see Using Inverted Style with Symbian Components.
This property group was introduced in Qt Quick Components 1.1.
The foreground color for the latched or checked state.
This property group was introduced in Qt Quick Components 1.1.
The inverted counterpart of the colorLatched. For more information, see Using Inverted Style with Symbian Components.
This property group was introduced in Qt Quick Components 1.1.
The inverted counterpart of the colorNormalDark. For more information, see Using Inverted Style with Symbian Components.
This property group was introduced in Qt Quick Components 1.1.
The inverted counterpart of the colorNormalLight. For more information, see Using Inverted Style with Symbian Components.
This property group was introduced in Qt Quick Components 1.1.
The inverted counterpart of the colorNormalLink. For more information, see Using Inverted Style with Symbian Components.
This property group was introduced in Qt Quick Components 1.1.
The inverted counterpart of the colorNormalMid. For more information, see Using Inverted Style with Symbian Components.
This property group was introduced in Qt Quick Components 1.1.
The inverted counterpart of the colorPressed. For more information, see Using Inverted Style with Symbian Components.
This property group was introduced in Qt Quick Components 1.1.
The inverted counterpart of the colorTextSelection. For more information, see Using Inverted Style with Symbian Components.
This property group was introduced in Qt Quick Components 1.1.
The size of a large graphical object, for example an Image, in pixels.
The size of a medium size graphical object, for example an Image, in pixels.
The size of a small graphical object, for example an Image, in pixels.
The size of a tiny graphical object, for example an Image, in pixels.