yes, there is no need to pass the imagezoomer to your canvas, no need at all...
just have the canvas as member of imagezoomer and add this to one of your layouts
yes, there is no need to pass the imagezoomer to your canvas, no need at all...
just have the canvas as member of imagezoomer and add this to one of your layouts
Hi...Originally Posted by incubator
i have done something similar but getting error
"Undefined reference to VTABLE" error.. I know this is inheritance problem but am not able to understand where i have gone wrong..
i have created a main.cpp where i create MainWindow object and pass it to ImageZoomer.cpp...
Now in ImageZoomer.cpp i have created CanvasMouse object and passed it the frame where i have to set the Canvas...
CanvasMouse derives the base class Q3CanvasView and in the constructor i have intialized the Q3CanvasView to frame.. The statement is:
CanvasMouse::CanvasMouse(QFrame *frame): Q3CanvasView(frame){}
But it is creating error.. what can be the possible reason behind it...
Hi..
Done....
Thanks a lot everyone for all the suggestions provided....
Kapil
Bookmarks