Draw a line follow mouse
Unsolved
General and Desktop
-
Hi,
Do you want the line to be drawn when one mouse button is pressed, or whenever the mouse move?
Can you be more specific about the exact behavior you try to achieve?Meanwhile, you can consult these links:
http://stackoverflow.com/questions/24672146/qpainter-draw-line
http://zetcode.com/gui/qt4/painting/Also, could you post your code so we can check what might go wrong?