Home · All Classes · Main Classes · Deprecated |
Style class for standard m buttons. More...
Inherits MWidgetStyle.
Inherited by MButtonIconStyle, MButtonSwitchStyle, and MCheckboxStyle.
Properties | |
QFont | font |
QString | iconId |
QString | toggledIconId |
QSize | iconSize |
Qt::Alignment | iconAlign |
QColor | textColor |
Qt::Alignment | horizontalTextAlign |
Qt::Alignment | verticalTextAlign |
int | textMarginLeft |
int | textMarginTop |
int | textMarginRight |
int | textMarginBottom |
int | pressTimeout |
qreal | contentOpacity |
QString | transition |
int | maxDistanceForClick |
Style class for standard m buttons.
MButtonStyle { font: arial 12; icon-id: "my-icon"; toggled-icon-id: "my-toggled-icon" icon-size: 32 32; icon-align: left; text-color: white; vertical-text-align: vcenter; horizontal-text-align: hcenter; text-margin-left: 5; text-margin-top: 0; text-margin-right: 5; text-margin-bottom: 0; }
MButtonStyle::contentOpacity [read, write] |
Content opacity.
Reimplemented in MButtonIconStyle.
MButtonStyle::font [read, write] |
Font for the button text.
MButtonStyle::horizontalTextAlign [read, write] |
Horizontal text alignment.
MButtonStyle::iconAlign [read, write] |
Alignmentation of the icon.
MButtonStyle::iconId [read, write] |
Icon identifier Identifier of the graphical resource that contains the icon graphics.
Will be used if no QIcon or iconID is specified in the button's model.
MButtonStyle::iconSize [read, write] |
Size of the button icon.
MButtonStyle::maxDistanceForClick [read, write] |
If the pointer gets further away from the press point than this value a cancel event is sent. Thus no click can take place (for this press-move-releae cycle) even if the pointer is released over the button.
MButtonStyle::pressTimeout [read, write] |
timeout for button press.
MButtonStyle::textColor [read, write] |
Text color.
MButtonStyle::textMarginBottom [read, write] |
Bottom text margin.
Empty space after bottom text boundary.
MButtonStyle::textMarginLeft [read, write] |
Left text margin.
Empty space after left text boundary.
MButtonStyle::textMarginRight [read, write] |
Right text margin.
Empty space after right text boundary.
MButtonStyle::textMarginTop [read, write] |
Top text margin.
Empty space after top text boundary.
MButtonStyle::toggledIconId [read, write] |
Toggled icon identifier Identifier of the graphical resource that contains the toggled icon graphics.
Will be used if no QIcon or toggledIconID is specified in the button's model.
MButtonStyle::transition [read, write] |
name of the animation used for the transition
Supported values: "default", "expanding-background" and "imploding-background"
MButtonStyle::verticalTextAlign [read, write] |
Vertical text alignment.
Copyright © 2010 Nokia Corporation | MeeGo Touch |