Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to draw this shape
vietnorm last edited by
What would be the best way to draw this shape (the area filled with blue, not the entire shape):
I also need to be able to interact with it (like resize or move it by dragging), so I assume this should be a QGraphicsItem, am I right?
dangelog last edited by
No, you can draw it pretty much anywhere you want (even on an ordinary QWidget). About the actual drawing: a filled QPainterPath?