-
Methods in io.qt.widgets that return QGraphicsLineItem
Modifier and Type |
Method |
Description |
QGraphicsLineItem |
QGraphicsScene.addLine(double x1,
double y1,
double x2,
double y2) |
Equivalent to addLine(x1, y1, x2, y2, null)
|
QGraphicsLineItem |
QGraphicsScene.addLine(double x1,
double y1,
double x2,
double y2,
QPen pen) |
Creates and adds a line item to the scene, and returns the item
reference.
|
QGraphicsLineItem |
QGraphicsScene.addLine(QLineF line) |
Equivalent to addLine(line, null)
|
QGraphicsLineItem |
QGraphicsScene.addLine(QLineF line,
QPen pen) |
Creates and adds a line item to the scene, and returns the item
reference.
|