|
|||||||||
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.QFrame.Shape
public static final class 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.
QFrame::Shadow
, QFrame::style()
, and QStyle::drawPrimitive()
.
Field Summary | |
---|---|
static QFrame.Shape |
Box
QFrame draws a box around its contents |
static QFrame.Shape |
HLine
QFrame draws a horizontal line that frames nothing (useful as separator) |
static QFrame.Shape |
NoFrame
QFrame draws nothing |
static QFrame.Shape |
Panel
QFrame draws a panel to make the contents appear raised or sunken |
static QFrame.Shape |
StyledPanel
draws a rectangular panel with a look that depends on the current GUI style. |
static QFrame.Shape |
VLine
QFrame draws a vertical line that frames nothing (useful as separator) |
static QFrame.Shape |
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()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QFrame.Shape |
valueOf(java.lang.String name)
|
static QFrame.Shape[] |
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 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
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
Method Detail |
---|
public static QFrame.Shape[] values()
public static QFrame.Shape valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QFrame.Shape resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |