|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QFrame.Shadow>
com.trolltech.qt.gui.QFrame.Shadow
public static enum QFrame.Shadow
This enum type defines the types of shadow that are used to give a 3D effect to frames.
Shadow interacts with QFrame::Shape, the lineWidth and the midLineWidth. See the picture of the frames in the main class documentation.
Enum Constant Summary | |
---|---|
CustomEnum
|
|
Plain
the frame and contents appear level with the surroundings; draws using the palette foreground color (without any 3D effect) |
|
Raised
the frame and contents appear raised; draws a 3D raised line using the light and dark colors of the current color group |
|
Sunken
the frame and contents appear sunken; draws a 3D sunken line using the light and dark colors of the current color group |
Method Summary | |
---|---|
static QFrame.Shadow |
resolve(int value)
|
int |
value()
|
static QFrame.Shadow |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QFrame.Shadow[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QFrame.Shadow Plain
the frame and contents appear level with the surroundings; draws using the palette foreground color (without any 3D effect)
public static final QFrame.Shadow Raised
the frame and contents appear raised; draws a 3D raised line using the light and dark colors of the current color group
public static final QFrame.Shadow Sunken
the frame and contents appear sunken; draws a 3D sunken line using the light and dark colors of the current color group
public static final QFrame.Shadow CustomEnum
Method Detail |
---|
public static final QFrame.Shadow[] values()
for(QFrame.Shadow c : QFrame.Shadow.values()) System.out.println(c);
public static QFrame.Shadow valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
value
in interface QtEnumerator
public static QFrame.Shadow resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |