|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.core.Qt.PenStyle
public static final class Qt.PenStyle
This enum type defines the pen styles that can be drawn using QPainter
. The styles are:
QPen
.
Field Summary | |
---|---|
static Qt.PenStyle |
CustomDashLine
A custom pattern defined using QPainterPathStroker::setDashPattern() . |
static Qt.PenStyle |
DashDotDotLine
One dash, two dots, one dash, two dots. |
static Qt.PenStyle |
DashDotLine
Alternate dots and dashes. |
static Qt.PenStyle |
DashLine
Dashes separated by a few pixels. |
static Qt.PenStyle |
DotLine
Dots separated by a few pixels. |
static Qt.PenStyle |
MPenStyle
|
static Qt.PenStyle |
NoPen
no line at all. |
static Qt.PenStyle |
SolidLine
A plain line. |
Method Summary | |
---|---|
static Qt.PenStyle |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static Qt.PenStyle |
valueOf(java.lang.String name)
|
static Qt.PenStyle[] |
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 Qt.PenStyle NoPen
QPainter::drawRect()
fills but does not draw any boundary line.
public static final Qt.PenStyle SolidLine
public static final Qt.PenStyle DashLine
public static final Qt.PenStyle DotLine
public static final Qt.PenStyle DashDotLine
public static final Qt.PenStyle DashDotDotLine
public static final Qt.PenStyle CustomDashLine
QPainterPathStroker::setDashPattern()
.
public static final Qt.PenStyle MPenStyle
Method Detail |
---|
public static Qt.PenStyle[] values()
public static Qt.PenStyle valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static Qt.PenStyle resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |