Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Go to the source code of this file.
Classes | |
class | SimpleItem |
[0] More... | |
class | CustomItem |
[0] More... | |
class | QGraphicsPathItem |
[17] More... | |
Functions | |
item | setCursor (Qt::IBeamCursor) |
[1] | |
rect | setPos (100, 100) |
rect | sceneTransform ().map(QPointF(0 |
rect | deviceTransform (view->viewportTransform()).map(QPointF(0 |
if (item->data(ObjectName).toString().isEmpty()) | |
line | installSceneEventFilter (ellipse) |
ellipse | installSceneEventFilter (line) |
scene | destroyItemGroup (group) |
view | viewport () -> scroll(dx, dy, deviceRect) |
Variables | |
QGraphicsRectItem | rect |
[3] | |
static const int | ObjectName = 0 |
[10] | |
QGraphicsItem * | item = scene.itemAt(100, 50) |
QGraphicsScene | scene |
[11] | |
QGraphicsEllipseItem * | ellipse = scene.addEllipse(QRectF(-10, -10, 20, 20)) |
QGraphicsLineItem * | line = scene.addLine(QLineF(-10, -10, 20, 20)) |
QGraphicsItemGroup * | group = scene->createItemGroup(scene->selecteditems()) |
[16] | |
QTransform | xform = item->deviceTransform(view->viewportTransform()) |
[18] | |
QRect | deviceRect = xform.mapRect(rect).toAlignedRect() |
if | ( | item-> | dataObjectName).toString().isEmpty( | ) |
Definition at line 108 of file src_gui_graphicsview_qgraphicsitem.cpp.
setCursor | ( | Qt::IBeamCursor | ) |
[1]
[2]
[3]
[6]
rect setPos | ( | 100 | , |
100 | ) |
view viewport | ( | ) | -> scroll(dx, dy, deviceRect) |
Definition at line 205 of file src_gui_graphicsview_qgraphicsitem.cpp.
QGraphicsEllipseItem * ellipse = scene.addEllipse(QRectF(-10, -10, 20, 20)) |
Definition at line 117 of file src_gui_graphicsview_qgraphicsitem.cpp.
QGraphicsItemGroup* group = scene->createItemGroup(scene->selecteditems()) |
QGraphicsItem * item = scene.itemAt(100, 50) |
Definition at line 107 of file src_gui_graphicsview_qgraphicsitem.cpp.
Referenced by QQuickGraphicsInfo::QQuickGraphicsInfo(), QQuickRhiItemNode::QQuickRhiItemNode(), QQuickStackViewArg::QQuickStackViewArg(), QSizeChangeListener::QSizeChangeListener(), org.qtproject.qt.android.QtActivityBase::onContextItemSelected(), and org.qtproject.qt.android.QtActivityBase::onOptionsItemSelected().
QGraphicsLineItem* line = scene.addLine(QLineF(-10, -10, 20, 20)) |
Definition at line 118 of file src_gui_graphicsview_qgraphicsitem.cpp.
|
static |
rect rect QGraphicsRectItem rect |
QGraphicsScene scene |
QTransform xform = item->deviceTransform(view->viewportTransform()) |