|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QHeaderView.ResizeMode
public static final class QHeaderView.ResizeMode
The resize mode specifies the behavior of the header sections. It can be set on the entire header view or on individual sections using setResizeMode()
. The following values are obsolete:
setResizeMode()
, stretchLastSection
, and minimumSectionSize
.
Field Summary | |
---|---|
static QHeaderView.ResizeMode |
Fixed
The user cannot resize the section. |
static QHeaderView.ResizeMode |
Interactive
The user can resize the section. |
static QHeaderView.ResizeMode |
ResizeToContents
QHeaderView will automatically resize the section to its optimal size based on the contents of the entire column or row. |
static QHeaderView.ResizeMode |
Stretch
QHeaderView will automatically resize the section to fill the available space. |
Method Summary | |
---|---|
static QHeaderView.ResizeMode |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QHeaderView.ResizeMode |
valueOf(java.lang.String name)
|
static QHeaderView.ResizeMode[] |
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 |
---|
public static final QHeaderView.ResizeMode Interactive
resizeSection()
. The section size defaults to defaultSectionSize
. (See also cascadingSectionResizes
.)
public static final QHeaderView.ResizeMode Stretch
QHeaderView
will automatically resize the section to fill the available space. The size cannot be changed by the user or programmatically.
public static final QHeaderView.ResizeMode Fixed
resizeSection()
. The section size defaults to defaultSectionSize
.
public static final QHeaderView.ResizeMode ResizeToContents
QHeaderView
will automatically resize the section to its optimal size based on the contents of the entire column or row. The size cannot be changed by the user or programmatically. (This value was introduced in 4.2)
Method Detail |
---|
public static QHeaderView.ResizeMode[] values()
public static QHeaderView.ResizeMode valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QHeaderView.ResizeMode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |