Qt 之 Graphics View Framework 模块依赖关系
graph LR
subgraph Graphics
W[QtCore.QObject] --> F(QtWidgets.QGraphicsObject)
F --> S(QtWidgets.QGraphicsTextItem)
end
subgraph Widget
W --> B
WW --> F(QtWidgets.QGraphicsObject)
F --> AA(QtWidgets.QGraphicsWidget)
BB[QtWidgets.QGraphicsLayoutItem] --> AA
AA --> AAA(QtCharts.QChart)
W --> U(QtWidgets.QGraphicsScene)
end
subgraph View
A[QtGui.QPaintDevice] --> B(QtWidgets.QWidget)
B --> C(QtWidgets.QFrame)
C --> D(QtWidgets.QAbstractScrollArea)
D -->E(QtWidgets.QGraphicsView)
end
subgraph Item
WW[QtWidgets.QGraphicsItem] --> EE(QtWidgets.QAbstractGraphicsShapeItem)
WW --> FF(QtWidgets.QGraphicsItemGroup)
WW -->3F(QtWidgets.QGraphicsLineItem)
WW --> 4F(QtWidgets.QGraphicsPixmapItem)
EE --> QQ(QtWidgets.QGraphicsEllipseItem)
EE --> 3Q(QtWidgets.QGraphicsPathItem)
EE --> 4Q(QtWidgets.QGraphicsPolygonItem)
EE --> 5Q(QtWidgets.QGraphicsRectItem)
EE --> 6Q(QtWidgets.QGraphicsSimpleTextItem)
end
探寻有趣之事!