Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.gui
Class QFormLayout.RowWrapPolicy

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.gui.QFormLayout.RowWrapPolicy

All Implemented Interfaces:
  QtEnumerator, java.io.Serializable, java.lang.Comparable

Enclosing class:
  QFormLayout

    public static final class QFormLayout.RowWrapPolicy

extends java.lang.Enum
implements QtEnumerator

This enum specifies the different policies that can be used to control the way in which the form's rows wrap.

See also:
  `rowWrapPolicy`.

See Also:
  Serialized Form

Field Summary
`static QFormLayout.RowWrapPolicy` | `DontWrapRows` Fields are always laid out next to their label.
`static QFormLayout.RowWrapPolicy` | `WrapAllRows` Fields are always laid out below their label.
`static QFormLayout.RowWrapPolicy` | `WrapLongRows` Labels are given enough horizontal space to fit the widest label, and the rest of the space is given to the fields.

Method Summary
`static QFormLayout.RowWrapPolicy` | `resolve(int value)` Returns the RowWrapPolicy constant with the specified `int`.
`int` | `value()` This function should return an integer value for the enum values of the enumeration that implements this interface.
`static QFormLayout.RowWrapPolicy` | `valueOf(java.lang.String name)`
`static QFormLayout.RowWrapPolicy[]` | `values()`

Methods inherited from class java.lang.Enum
`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### DontWrapRows

    public static final QFormLayout.RowWrapPolicy DontWrapRows

  Fields are always laid out next to their label. This is the default policy for all styles except Qtopia styles.

### WrapLongRows

    public static final QFormLayout.RowWrapPolicy WrapLongRows

  Labels are given enough horizontal space to fit the widest label, and the rest of the space is given to the fields. If the minimum size of a field pair is wider than the available space, the field is wrapped to the next line. This is the default policy for Qtopia styles.

### WrapAllRows

    public static final QFormLayout.RowWrapPolicy WrapAllRows

  Fields are always laid out below their label.

Method Detail

### values

    public static QFormLayout.RowWrapPolicy[] values()

### valueOf

    public static QFormLayout.RowWrapPolicy valueOf(java.lang.String name)

### value

    public int value()

  This function should return an integer value for the enum values of the enumeration that implements this interface.

  Specified by:
    `value` in interface `QtEnumerator`

### resolve

    public static QFormLayout.RowWrapPolicy resolve(int value)

  Returns the RowWrapPolicy constant with the specified `int`.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD