-
Methods in io.qt.widgets that return QGraphicsRectItem
Modifier and Type |
Method |
Description |
QGraphicsRectItem |
QGraphicsScene.addRect(double x,
double y,
double w,
double h) |
Equivalent to addRect(x, y, w, h, null, null)
|
QGraphicsRectItem |
QGraphicsScene.addRect(double x,
double y,
double w,
double h,
QPen pen) |
Equivalent to addRect(x, y, w, h, pen, null)
|
QGraphicsRectItem |
QGraphicsScene.addRect(double x,
double y,
double w,
double h,
QPen pen,
QBrush brush) |
Creates and adds a rectangle item to the scene, and returns the item
reference.
|
QGraphicsRectItem |
QGraphicsScene.addRect(QRectF rect) |
Equivalent to addRect(rect, null, null)
|
QGraphicsRectItem |
QGraphicsScene.addRect(QRectF rect,
QPen pen) |
Equivalent to addRect(rect, pen, null)
|
QGraphicsRectItem |
QGraphicsScene.addRect(QRectF rect,
QPen pen,
QBrush brush) |
Creates and adds a rectangle item to the scene, and returns the item
reference.
|