Home · All Classes · Main Classes · Deprecated
Properties

MButtonSwitchStyle Class Reference

Style class for switch buttons. More...

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

List of all members.

Properties

MFeedback pressOnFeedback
MFeedback pressOffFeedback
MFeedback releaseOnFeedback
MFeedback releaseOffFeedback
int thumbMargin

Detailed Description

Style class for switch buttons.

        MButtonSwitchStyle {
            // slider is behind thumb, but above background
            slider-image: "mbutton-switch-colorstripe";

            // slider-mask defines the shape of the slider-image
            slider-mask: "mbutton-switch-mask" 15px 15px 15px 15px;

            // thumb is the sliding part, should slide across the whole area
            thumb-image: "mbutton-switch-thumb" 15px 15px 15px 15px;
        }
See also:
MButtonSwitchStyleContainer MWidgetStyle MButtonStyle Overview MButton MButtonSwitchView

Definition at line 46 of file mbuttonswitchstyle.h.


Property Documentation

MButtonSwitchStyle::pressOffFeedback [read, write]

Feedback given when pressing a switch about to switch off.

Definition at line 85 of file mbuttonswitchstyle.h.

MButtonSwitchStyle::pressOnFeedback [read, write]

Feedback given when pressing a switch about to switch on.

Definition at line 79 of file mbuttonswitchstyle.h.

MButtonSwitchStyle::releaseOffFeedback [read, write]

Feedback given when releasing a switch about to switch off.

Definition at line 97 of file mbuttonswitchstyle.h.

MButtonSwitchStyle::releaseOnFeedback [read, write]

Feedback given when releasing a switch about to switch on.

Definition at line 91 of file mbuttonswitchstyle.h.

int MButtonSwitchStyle::thumbMargin [read, write]

Definition at line 99 of file mbuttonswitchstyle.h.


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