Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Drawing a circle and rectangle using mouse



  • Hi everyone.
    I am really new to Qt and am still in early learning phase.
    I am trying to learn through the documentations given alongwith the software.
    Currently I am working in the image viewer example given with the SDK.
    I want to add some functions in the program.
    So, here's what I am looking for-
    I opened an image. Now I want to draw circles and rectangles on the image using mouse control. So, can anyone help me and guide me through the required coding as in what do I have to do to achieve the purpose...step by step...
    (using references from the same example for the instructions would be really helpful)




Log in to reply