[Qt-interest] How to make rectangles dynamically in the empty spaceof a frame?

Tony Rietwyk tony.rietwyk at rightsoft.com.au
Mon Mar 30 09:23:29 CEST 2009


Hi Usman, 
 
If you just want to draw rectangles from your own data structures then have
a look at QPainter.  If you need more interaction with the user, or
animation, then have a look at the graphics view module, in particular
QGraphicsScene, in QtAssistant.  
 
Tony.
 

-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Usman Ajmal
Sent: Monday, 30 March 2009 16:44
To: qt-interest at trolltech.com
Subject: [Qt-interest] How to make rectangles dynamically in the empty
spaceof a frame?


Hi...
Can someone plz give me some leads to help me out for my following problem?

Problem:
I need to develop an application which will have a window type frame in
which rectangles of different colors can be generated whose sizes will be
generated dynamically in the  empty space of the frame.

As i did not use Qt before so i started by learning Qt from its
documentation given with QtDesigner software in opensuse linux but it seems
like its a tutorial for only creating GUI whereas my problem is not related
to GUI.

Any suggestions may help me a lot.

Thanks a lot.

Usman Ajmal
National University of Science and Technology, Pakistan 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090330/393e5072/attachment.html 


More information about the Qt-interest-old mailing list