QGraphicsLineItem Class Reference
[QtGui module]
Inherits QGraphicsItem.
Methods
- __init__ (self, QGraphicsItem parent = None, QGraphicsScene scene = None)
- __init__ (self, QLineF, QGraphicsItem parent = None, QGraphicsScene scene = None)
- __init__ (self, float, float, float, float, QGraphicsItem parent = None, QGraphicsScene scene = None)
- QRectF boundingRect (self)
- bool contains (self, QPointF)
- bool isObscuredBy (self, QGraphicsItem)
- QLineF line (self)
- QPainterPath opaqueArea (self)
- paint (self, QPainter, QStyleOptionGraphicsItem, QWidget widget = None)
- QPen pen (self)
- setLine (self, QLineF)
- setLine (self, float, float, float, float)
- setPen (self, QPen)
- QPainterPath shape (self)
- int type (self)
Detailed Description
Method Documentation
QGraphicsLineItem.__init__ (self, QGraphicsItem parent = None, QGraphicsScene scene = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
The scene argument, if not None, causes self to be owned by Qt instead of PyQt.
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
The scene argument, if not None, causes self to be owned by Qt instead of PyQt.
QGraphicsLineItem.__init__ (self, float, float, float, float, QGraphicsItem parent = None, QGraphicsScene scene = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
The scene argument, if not None, causes self to be owned by Qt instead of PyQt.
QRectF QGraphicsLineItem.boundingRect (self)
bool QGraphicsLineItem.contains (self, QPointF)
bool QGraphicsLineItem.isObscuredBy (self, QGraphicsItem)
QLineF QGraphicsLineItem.line (self)
QPainterPath QGraphicsLineItem.opaqueArea (self)
QPen QGraphicsLineItem.pen (self)
QGraphicsLineItem.setLine (self, QLineF)
QGraphicsLineItem.setLine (self, float, float, float, float)
QGraphicsLineItem.setPen (self, QPen)
QPainterPath QGraphicsLineItem.shape (self)
int QGraphicsLineItem.type (self)