|
|||||||||
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.QSizePolicy.Policy
public static final class QSizePolicy.Policy
Field Summary | |
---|---|
static QSizePolicy.Policy |
Expanding
The sizeHint() is a sensible size, but the widget can be shrunk and still be useful. |
static QSizePolicy.Policy |
Fixed
The QWidget.:sizeHint() is the only acceptable alternative, so the widget can never grow or shrink (e.g. |
static QSizePolicy.Policy |
Ignored
The sizeHint() is ignored. |
static QSizePolicy.Policy |
Maximum
The sizeHint() is a maximum. |
static QSizePolicy.Policy |
Minimum
The sizeHint() is minimal, and sufficient. |
static QSizePolicy.Policy |
MinimumExpanding
The sizeHint() is minimal, and sufficient. |
static QSizePolicy.Policy |
Preferred
The sizeHint() is best, but the widget can be shrunk and still be useful. |
Method Summary | |
---|---|
static QSizePolicy.Policy |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QSizePolicy.Policy |
valueOf(java.lang.String name)
|
static QSizePolicy.Policy[] |
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 QSizePolicy.Policy Fixed
QWidget.:sizeHint()
is the only acceptable alternative, so the widget can never grow or shrink (e.g. the vertical direction of a push button).
public static final QSizePolicy.Policy Minimum
public static final QSizePolicy.Policy Maximum
public static final QSizePolicy.Policy Preferred
QWidget
policy).
public static final QSizePolicy.Policy MinimumExpanding
public static final QSizePolicy.Policy Expanding
public static final QSizePolicy.Policy Ignored
Method Detail |
---|
public static QSizePolicy.Policy[] values()
public static QSizePolicy.Policy valueOf(java.lang.String name)
public int value()
QtEnumerator
value
in interface QtEnumerator
public static QSizePolicy.Policy resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |