src/gui/kernel/qformlayout.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
  1122     This enum specifies the different policies that can be used to
  1122     This enum specifies the different policies that can be used to
  1123     control the way in which the form's rows wrap.
  1123     control the way in which the form's rows wrap.
  1124 
  1124 
  1125     \value DontWrapRows
  1125     \value DontWrapRows
  1126            Fields are always laid out next to their label.  This is
  1126            Fields are always laid out next to their label.  This is
  1127            the default policy for all styles except Qt Extended styles.
  1127            the default policy for all styles except Qt Extended styles
       
  1128            and QS60Style.
  1128 
  1129 
  1129     \value WrapLongRows
  1130     \value WrapLongRows
  1130            Labels are given enough horizontal space to fit the widest label,
  1131            Labels are given enough horizontal space to fit the widest label,
  1131            and the rest of the space is given to the fields. If the minimum
  1132            and the rest of the space is given to the fields. If the minimum
  1132            size of a field pair is wider than the available space, the field
  1133            size of a field pair is wider than the available space, the field
  1133            is wrapped to the next line.  This is the default policy for
  1134            is wrapped to the next line.  This is the default policy for
  1134            Qt Extended styles.
  1135            Qt Extended styles and and QS60Style.
  1135 
  1136 
  1136     \value WrapAllRows
  1137     \value WrapAllRows
  1137            Fields are always laid out below their label.
  1138            Fields are always laid out below their label.
  1138 
  1139 
  1139     \sa rowWrapPolicy
  1140     \sa rowWrapPolicy
  1718 /*!
  1719 /*!
  1719     \property QFormLayout::rowWrapPolicy
  1720     \property QFormLayout::rowWrapPolicy
  1720     \brief the way in which the form's rows wrap
  1721     \brief the way in which the form's rows wrap
  1721 
  1722 
  1722     The default value depends on the widget or application style. For
  1723     The default value depends on the widget or application style. For
  1723     Qt Extended styles, the default is WrapLongRows; for the other styles,
  1724     Qt Extended styles and QS60Style, the default is WrapLongRows;
  1724     the default is DontWrapRows.
  1725     for the other styles, the default is DontWrapRows.
  1725 
  1726 
  1726     If you want to display each label above its associated field
  1727     If you want to display each label above its associated field
  1727     (instead of next to it), set this property to WrapAllRows.
  1728     (instead of next to it), set this property to WrapAllRows.
  1728 
  1729 
  1729     \sa fieldGrowthPolicy
  1730     \sa fieldGrowthPolicy