PDA

View Full Version : MouseEvent on a line



Kapil
25th March 2006, 08:16
Hi,

I have created a line by using Q3CanvasLine on a Q3Canvas...

I want to highlight the line with some different colour whenever the line is clicked by the mouse..

1> How do i select the line with the mouse event ??
2> How do i change the colour of the line when it is clicked by the mouse..

Thanking you,

Kapil

wysota
25th March 2006, 08:52
See the canvas example (http://doc.trolltech.com/3.3/canvas-example.html).