QPen Class Reference
[QtGui module]
Methods
- __init__ (self)
- __init__ (self, Qt.PenStyle)
- __init__ (self, QColor)
- __init__ (self, QBrush, float, Qt.PenStyle style = Qt.SolidLine, Qt.PenCapStyle cap = Qt.SquareCap, Qt.PenJoinStyle join = Qt.BevelJoin)
- __init__ (self, QPen)
- __init__ (self, QVariant variant)
- QBrush brush (self)
- Qt.PenCapStyle capStyle (self)
- QColor color (self)
- float dashOffset (self)
- list-of-float dashPattern (self)
- bool isCosmetic (self)
- bool isSolid (self)
- Qt.PenJoinStyle joinStyle (self)
- float miterLimit (self)
- setBrush (self, QBrush)
- setCapStyle (self, Qt.PenCapStyle)
- setColor (self, QColor)
- setCosmetic (self, bool)
- setDashOffset (self, float)
- setDashPattern (self, list-of-float)
- setJoinStyle (self, Qt.PenJoinStyle)
- setMiterLimit (self, float)
- setStyle (self, Qt.PenStyle)
- setWidth (self, int)
- setWidthF (self, float)
- Qt.PenStyle style (self)
- int width (self)
- float widthF (self)
Special Methods
Detailed Description
A
QColor
may be used whenever a
QPen
is expected.
Method Documentation
QPen.__init__ (self)
QPen.__init__ (self, QColor)
QPen.__init__ (self, QBrush, float, Qt.PenStyle style = Qt.SolidLine, Qt.PenCapStyle cap = Qt.SquareCap, Qt.PenJoinStyle join = Qt.BevelJoin)
QPen.__init__ (self, QPen)
QPen.__init__ (self, QVariant variant)
QBrush QPen.brush (self)
QColor QPen.color (self)
float QPen.dashOffset (self)
list-of-float QPen.dashPattern (self)
bool QPen.isCosmetic (self)
bool QPen.isSolid (self)
float QPen.miterLimit (self)
QPen.setBrush (self, QBrush)
QPen.setColor (self, QColor)
QPen.setCosmetic (self, bool)
QPen.setDashOffset (self, float)
QPen.setDashPattern (self, list-of-float)
QPen.setMiterLimit (self, float)
QPen.setWidth (self, int)
QPen.setWidthF (self, float)
int QPen.width (self)
float QPen.widthF (self)
bool QPen.__eq__ (self, QPen)
bool QPen.__ne__ (self, QPen)