QLine Class Reference
[QtCore module]
Methods
- __init__ (self)
- __init__ (self, QPoint, QPoint)
- __init__ (self, int, int, int, int)
- __init__ (self, QLine)
- int dx (self)
- int dy (self)
- bool isNull (self)
- QPoint p1 (self)
- QPoint p2 (self)
- setLine (self, int, int, int, int)
- setP1 (self, QPoint)
- setP2 (self, QPoint)
- setPoints (self, QPoint, QPoint)
- translate (self, QPoint)
- translate (self, int, int)
- QLine translated (self, QPoint)
- QLine translated (self, int, int)
- int x1 (self)
- int x2 (self)
- int y1 (self)
- int y2 (self)
Special Methods
Detailed Description
This class can be pickled.
Method Documentation
QLine.__init__ (self)
QLine.__init__ (self, QPoint, QPoint)
QLine.__init__ (self, int, int, int, int)
QLine.__init__ (self, QLine)
int QLine.dx (self)
int QLine.dy (self)
bool QLine.isNull (self)
QPoint QLine.p1 (self)
QPoint QLine.p2 (self)
QLine.setLine (self, int, int, int, int)
QLine.setP1 (self, QPoint)
QLine.setP2 (self, QPoint)
QLine.setPoints (self, QPoint, QPoint)
QLine.translate (self, QPoint)
QLine.translate (self, int, int)
QLine QLine.translated (self, QPoint)
QLine QLine.translated (self, int, int)
int QLine.x1 (self)
int QLine.x2 (self)
int QLine.y1 (self)
int QLine.y2 (self)
This method is only available if the QtGui module is imported.
This method is only available if the QtGui module is imported.
int QLine.__bool__ (self)
bool QLine.__eq__ (self, QLine)
bool QLine.__ne__ (self, QLine)
str QLine.__repr__ (self)