If your work involves only painting,, and not moving objects,,,you can consider using QWidget also. You have QPainter in paintEvent and rest you code![]()
If your work involves only painting,, and not moving objects,,,you can consider using QWidget also. You have QPainter in paintEvent and rest you code![]()
Hi,
Thanks for the reply.
I am using qt3.3 i need to draw the coordinate system on the qframe
whether it can be done using qpainter?
Thanks & regards,
soumya
hi,
Can u just send me the link to get started with
the "The Graphics View Framework" for qt3.3
Last edited by soumya; 19th August 2009 at 12:20.
u are using qt 3.3
so QGraphicsView is not supported ...
here the link
http://doc.trolltech.com/4.2/graphicsview.html
Last edited by wagmare; 19th August 2009 at 12:22.
"Behind every great fortune lies a crime" - Balzac
I have attached the .png file i need to make a graphics similar to that in qt-3.3.
How this can be implemented.
QGraphics wont support in qt 3.3 ...
so u have to use QPainter to design the above
and the dial movement u can refer
http://doc.trolltech.com/4.2/widgets-analogclock.html ..
and scale value check the plotter example in
C++ GUI Programming with Qt 4, Second Edition
by Jasmin Blanchette; Mark Summerfield
chapter 05 ...
"Behind every great fortune lies a crime" - Balzac
Bookmarks