com.trolltech.qt.gui
Class QHeaderView.ResizeMode
java.lang.Object
java.lang.Enum
com.trolltech.qt.gui.QHeaderView.ResizeMode
- All Implemented Interfaces:
- QtEnumerator, java.io.Serializable, java.lang.Comparable
- Enclosing class:
- QHeaderView
public static final class QHeaderView.ResizeMode
- extends java.lang.Enum
- implements QtEnumerator
This enum describes the different resizing behaviors child widgets can have. Use setStretchFactor()
instead.
- See Also:
- Serialized Form
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 |
Interactive
public static final QHeaderView.ResizeMode Interactive
Stretch
public static final QHeaderView.ResizeMode Stretch
- The widget will be resized when the splitter itself is resized.
Fixed
public static final QHeaderView.ResizeMode Fixed
ResizeToContents
public static final QHeaderView.ResizeMode ResizeToContents
values
public static QHeaderView.ResizeMode[] values()
valueOf
public static QHeaderView.ResizeMode 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 QHeaderView.ResizeMode resolve(int value)
- Returns the ResizeMode constant with the specified int.