recreating this graphic in Qt
-
I am rewriting a 15 year old program in Qt and would like to recreate and improve on the graphic in the lower half of this picture.
I am new to Qt but have written all of their other panels. The only remaining piece is this graphic.
Can someone suggest which module/set of classes I should read up that is best suited to my task? I've worked through the basic examples of creating custom widgets with QPainter and I think I can wrangle something together that looks and works like the graphic but I'd like to improve on it and want to know where to concentrate my reading.
-
It's a job for the
QGraphicsView
framework, I would say.Some examples:
-
https://doc.qt.io/qt-5/examples-graphicsview.html
Especially this might be interesting:
@JonB I'm too slow at pasting links and looking for the right example :))