Home · All Classes · Main Classes · Deprecated
Properties

MAbstractLayoutPolicyStyle Class Reference

Defines a style for a MAbstractLayoutPolicy class and the policies that inherit from this This defines the attributes that are common to all MLayout policies. More...

Inherits MStyle.

List of all members.

Properties

qreal horizontalSpacing
qreal verticalSpacing
qreal marginLeft
qreal marginTop
qreal marginRight
qreal marginBottom

Detailed Description

Defines a style for a MAbstractLayoutPolicy class and the policies that inherit from this This defines the attributes that are common to all MLayout policies.


Property Documentation

qreal MAbstractLayoutPolicyStyle::horizontalSpacing [read, write]

Sets the horizontal distances between items, where applicable.

qreal MAbstractLayoutPolicyStyle::marginBottom [read, write]

The bottom contents margin of the layout for this policy. If this is not set explicitly (in code or css) it returns -1, indicating to use the MLayout margin.

qreal MAbstractLayoutPolicyStyle::marginLeft [read, write]

FIXME Convert these to int or, even better, QMargin The left contents margin of the layout for this policy.

If this is not set explicitly (in code or css) it returns -1, indicating to use the MLayout margin

qreal MAbstractLayoutPolicyStyle::marginRight [read, write]

The right contents margin of the layout for this policy. If this is not set explicitly (in code or css) it returns -1, indicating to use the MLayout margin.

qreal MAbstractLayoutPolicyStyle::marginTop [read, write]

The top contents margin of the layout for this policy. If this is not set explicitly (in code or css) it returns -1, indicating to use the MLayout margin.

qreal MAbstractLayoutPolicyStyle::verticalSpacing [read, write]

Sets the vertical distances between items, where applicable.


Copyright © 2010 Nokia Corporation
MeeGo Touch