|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QFrame.Shape>
com.trolltech.qt.gui.QFrame.Shape
public static enum QFrame.Shape
This enum type defines the shapes of frame available.
When it does not call QStyle, Shape interacts with QFrame::Shadow, the lineWidth and the midLineWidth to create the total result. See the picture of the frames in the main class documentation.
Enum Constant Summary | |
---|---|
Box
QFrame draws a box around its contents |
|
HLine
QFrame draws a horizontal line that frames nothing (useful as separator) |
|
NoFrame
QFrame draws nothing |
|
Panel
QFrame draws a panel to make the contents appear raised or sunken |
|
StyledPanel
draws a rectangular panel with a look that depends on the current GUI style. |
|
VLine
QFrame draws a vertical line that frames nothing (useful as separator) |
|
WinPanel
draws a rectangular panel that can be raised or sunken like those in Windows 95. |
Method Summary | |
---|---|
static QFrame.Shape |
resolve(int value)
|
int |
value()
|
static QFrame.Shape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QFrame.Shape[] |
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.Shape NoFrame
QFrame draws nothing
public static final QFrame.Shape Box
QFrame draws a box around its contents
public static final QFrame.Shape Panel
QFrame draws a panel to make the contents appear raised or sunken
public static final QFrame.Shape WinPanel
draws a rectangular panel that can be raised or sunken like those in Windows 95. Specifying this shape sets the line width to 2 pixels. WinPanel is provided for compatibility. For GUI style independence we recommend using StyledPanel instead.
public static final QFrame.Shape HLine
QFrame draws a horizontal line that frames nothing (useful as separator)
public static final QFrame.Shape VLine
QFrame draws a vertical line that frames nothing (useful as separator)
public static final QFrame.Shape StyledPanel
draws a rectangular panel with a look that depends on the current GUI style. It can be raised or sunken.
Method Detail |
---|
public static final QFrame.Shape[] values()
for(QFrame.Shape c : QFrame.Shape.values()) System.out.println(c);
public static QFrame.Shape 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.Shape resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |