Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Drawning over images
ArchGabe last edited by
I am working on an user interface and I need some fancy drawning tools in order to draw a straight line over a picture. The picture is displayied on a QLabel (I am using OpenCv along Qt).
I would like to do something like a click over the picture (mark a point over it), and while I move the pointer over the picture, the line end follows the pointer until I click over it again.
Thank you in advance,
You could take a look at the "Scribble Example":http://qt-project.org/doc/qt-4.8/widgets-scribble.html to get some ideas on how to start with it.
Hope it helps