|
Qt Components Hildon
0.20
QML components for Maemo5 with Hildon styling.
|
Provides custom styling properties for a ToolButton. More...
Inherits ButtonStyle.
Properties | |
| enumeration | toolButtonStyle |
| Specifies the layout used for the ToolButton text and icon. | |
Properties inherited from ButtonStyle | |
| url | background |
| The url for the background image. | |
| url | backgroundChecked |
| The url for the background image used when the button is checked. | |
| url | backgroundDisabled |
| The url for the background image used when the button is disabled. | |
| int | backgroundMarginBottom |
| The bottom margin for the background image, in pixels. | |
| int | backgroundMarginLeft |
| The left margin for the background image, in pixels. | |
| int | backgroundMarginRight |
| The right margin for the background image, in pixels. | |
| int | backgroundMarginTop |
| The top margin for the background image, in pixels. | |
| url | backgroundPressed |
| The url for the background image used when the button is pressed. | |
| int | buttonHeight |
| The default height for the button. | |
| int | buttonWidth |
| The default width for the button. | |
| color | checkedTextColor |
| The color of the text displayed in the button when the button is checked. | |
| real | disabledIconOpacity |
| The opacity of the icon displayed in the button when the button is disabled. | |
| color | disabledTextColor |
| The color of the text displayed in the button when the button is disabled. | |
| int | fontCapitalization |
| The font capitalization of the text displayed in the button. | |
| int | fontPointSize |
| The font size of the text displayed in the button. | |
| int | fontWeight |
| The font weight of the text displayed in the button. | |
| int | horizontalAlignment |
| The horizontal alignment of the button icon and text. | |
| int | iconHeight |
| The height of the icon displayed in the button. | |
| real | iconOpacity |
| The opacity of the icon displayed in the button. | |
| int | iconWidth |
| The width of the icon displayed in the button. | |
| int | paddingLeft |
| The padding used for the left side of the button. | |
| int | paddingRight |
| The padding used for the right side of the button. | |
| color | pressedTextColor |
| The color of the text displayed in the button when the button is pressed. | |
| color | textColor |
| The color of the text displayed in the button. | |
Provides custom styling properties for a ToolButton.
| enumeration ToolButtonStyle::toolButtonStyle |
Specifies the layout used for the ToolButton text and icon.
Possible values are:
| Value | Description |
|---|---|
| Qt.ToolButtonIconOnly | Only display the icon (default). |
| Qt.ToolButtonTextOnly | Only display the text. |
| Qt.ToolButtonTextBesideIcon | The text appears beside the icon. |
| Qt.ToolButtonTextUnderIcon | The text appears under the icon. |
1.8.1.2