Home · All Classes · Main Classes · Deprecated
Signals | Public Member Functions | Properties

MButtonModel Class Reference

Data model class for MButton. More...

Inherits MWidgetModel.

List of all members.

Signals

void clicked ()

Public Member Functions

void click ()

Properties

QString iconID
QString toggledIconID
QIcon icon
QString text
bool textVisible
bool iconVisible
bool checkable
bool checked
bool down
ButtonRole role

Detailed Description

Data model class for MButton.

See also:
MButton

Member Function Documentation

void MButtonModel::click (  )  [inline]

Notifies the model to emit clicked signal.

void MButtonModel::clicked (  )  [signal]

Signals that the button was clicked.


Property Documentation

MButtonModel::checkable [read, write]

Boolean value that defines whether button is checkable or not.

MButtonModel::checked [read, write]

Boolean value that defines whether button is currently checked or not.

MButtonModel::down [read, write]

Boolean value that defines whether button is currently pressed down or not.

MButtonModel::icon [read, write]

QIcon that is displayed for the button.

MButtonModel::iconID [read, write]

ID of the icon that is displayed for a non-toggled button.

MButtonModel::iconVisible [read, write]

Boolean value that defines whether icon is displayed or not.

MButtonModel::role [read, write]

Enum property that defines button role.

MButtonModel::text [read, write]

Text of the button.

MButtonModel::textVisible [read, write]

Boolean value that defines whether text is displayed or not.

MButtonModel::toggledIconID [read, write]

ID of the icon that is displayed when the button is in toggled/down state.


Copyright © 2010 Nokia Corporation
MeeGo Touch