Home · All Classes · Main Classes · Deprecated
Properties

MToolbarStyle Class Reference

Style class for m toolbar. More...

Inherits MWidgetStyle.

Inherited by MToolbarTabStyle.

List of all members.

Properties

int capacity
bool hasIcons
bool hasLabels
bool hasSpaces
bool labelOnlyAsCommonButton
bool centerToParent
bool centerCommonButtonsToParent
int alignmentMargins
QString labelOnlyCommonButtonStyleName
QString labelOnlyButtonStyleName
QString iconButtonStyleName
QString iconLabelButtonStyleName

Detailed Description

Style class for m toolbar.

See also:
MToolbarStyleContainer MWidgetStyle Styling MToolBar MToolBarView

Property Documentation

int MToolbarStyle::alignmentMargins [read, write]

Margin that is applied according to widget alignment: Left side of the tool bar when widgets/buttons are aligned to the left. Right side of the tool bar when widgets/buttons are aligned to the right. Both sides when alignment is justify. Neither side on HCenter alignment.

int MToolbarStyle::capacity [read, write]

Max number of slots in the bar (-1 = unlimited).

bool MToolbarStyle::centerCommonButtonsToParent [read, write]

Enable just common (default view based) button centering to scene window parent of the tool bar.

bool MToolbarStyle::centerToParent [read, write]

Enable tool bar widget centering to scene window parent of the tool bar.

bool MToolbarStyle::hasIcons [read, write]

Tool bar buttons have icon or not.

bool MToolbarStyle::hasLabels [read, write]

Tool bar buttons have text label or not.

bool MToolbarStyle::hasSpaces [read, write]

Tool bar buttons have spacers between them to layout them equally in the available space.

QString MToolbarStyle::iconButtonStyleName [read, write]

Style name for button containing just icon.

QString MToolbarStyle::iconLabelButtonStyleName [read, write]

Style name for button containing both icon and label.

bool MToolbarStyle::labelOnlyAsCommonButton [read, write]

Tool bar actions that have only text applied are handled with default button view instead of custom tool or tab bar views.

QString MToolbarStyle::labelOnlyButtonStyleName [read, write]

Style name for tool bar specific label only button.

QString MToolbarStyle::labelOnlyCommonButtonStyleName [read, write]

Style name for label only button that are based on common style.


Copyright © 2010 Nokia Corporation
MeeGo Touch