Hi...
The new class which i have created is CanvasMouse..
Now in my ImageZoomer i have created a CanvasMouse *canmouse variable which would call the CanvasMouse which inherits the Q3CanvasView....
In imageZoomer i have created a Q3CanvasView and have passed in the constructor of the CanvasMouse which reads this
CanvasMouse(Q3CanvasView *canview): canvasview(canview)
Now class CanvasMouse contains all the canvas related functionalities...
is this approach correct ?????
Bookmarks