Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QGraphicsItems in QGraphicsItem
faiszalkhan last edited by
Hi, I want to make a custom graphics Item on the scene. The Item would have a rectangle and 2 lines. which are connected. The Rect would be a QGraphicsRect and lines would be QGrpaphicsLine,
What is the best approach for this?
I have tried the QGraphicsPathItem but it doesn't support the QGraphicsLineItem.
You can start by taking a look at the QGraphicsView examples.