Home · All Classes · Main Classes · Deprecated
Properties

MButtonStyle Class Reference

Style class for standard m buttons. More...

Inheritance diagram for MButtonStyle:
Inheritance graph
[legend]
Collaboration diagram for MButtonStyle:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

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;
        }
See also:
MButtonStyleContainer MWidgetStyle Overview MButton MButtonView

Definition at line 56 of file views/style/mbuttonstyle.h.


Property Documentation

MButtonStyle::font [read, write]

Font for the button text.

Definition at line 65 of file views/style/mbuttonstyle.h.

MButtonStyle::horizontalTextAlign [read, write]

Horizontal text alignment.

Definition at line 111 of file views/style/mbuttonstyle.h.

MButtonStyle::iconAlign [read, write]

Alignmentation of the icon.

Definition at line 99 of file views/style/mbuttonstyle.h.

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.

See also:
MButtonStyle::toggledIconId

Definition at line 76 of file views/style/mbuttonstyle.h.

MButtonStyle::iconSize [read, write]

Size of the button icon.

Definition at line 93 of file views/style/mbuttonstyle.h.

MButtonStyle::pressTimeout [read, write]

timeout for button press.

Definition at line 156 of file views/style/mbuttonstyle.h.

MButtonStyle::textColor [read, write]

Text color.

Definition at line 105 of file views/style/mbuttonstyle.h.

MButtonStyle::textMarginBottom [read, write]

Bottom text margin.

Empty space after bottom text boundary.

Definition at line 149 of file views/style/mbuttonstyle.h.

MButtonStyle::textMarginLeft [read, write]

Left text margin.

Empty space after left text boundary.

Definition at line 125 of file views/style/mbuttonstyle.h.

MButtonStyle::textMarginRight [read, write]

Right text margin.

Empty space after right text boundary.

Definition at line 141 of file views/style/mbuttonstyle.h.

MButtonStyle::textMarginTop [read, write]

Top text margin.

Empty space after top text boundary.

Definition at line 133 of file views/style/mbuttonstyle.h.

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.

See also:
MButtonStyle::iconId

Definition at line 87 of file views/style/mbuttonstyle.h.

MButtonStyle::verticalTextAlign [read, write]

Vertical text alignment.

Definition at line 117 of file views/style/mbuttonstyle.h.


Copyright © 2010 Nokia Corporation Generated on Thu Nov 4 2010 18:14:24 (PDT)
Doxygen 1.7.1
MeeGo Touch