|
|||||||||
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.QComboBox.SizeAdjustPolicy
public static final class QComboBox.SizeAdjustPolicy
This enum specifies how the size hint of the QComboBox
should adjust when new content is added or content changes.
Field Summary | |
---|---|
static QComboBox.SizeAdjustPolicy |
AdjustToContents
The combobox will always adjust to the contents |
static QComboBox.SizeAdjustPolicy |
AdjustToContentsOnFirstShow
The combobox will adjust to its contents the first time it is shown. |
static QComboBox.SizeAdjustPolicy |
AdjustToMinimumContentsLength
Use AdjustToContents or AdjustToContentsOnFirstShow instead. |
static QComboBox.SizeAdjustPolicy |
AdjustToMinimumContentsLengthWithIcon
The combobox will adjust to minimumContentsLength plus space for an icon. |
Method Summary | |
---|---|
static QComboBox.SizeAdjustPolicy |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QComboBox.SizeAdjustPolicy |
valueOf(java.lang.String name)
|
static QComboBox.SizeAdjustPolicy[] |
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 QComboBox.SizeAdjustPolicy AdjustToContents
public static final QComboBox.SizeAdjustPolicy AdjustToContentsOnFirstShow
public static final QComboBox.SizeAdjustPolicy AdjustToMinimumContentsLength
AdjustToContents
or AdjustToContentsOnFirstShow
instead.
public static final QComboBox.SizeAdjustPolicy AdjustToMinimumContentsLengthWithIcon
minimumContentsLength
plus space for an icon. For performance reasons use this policy on large models.
Method Detail |
---|
public static QComboBox.SizeAdjustPolicy[] values()
public static QComboBox.SizeAdjustPolicy valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QComboBox.SizeAdjustPolicy resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |