My first reply,
Use designer to create your U/I. 
if you want the image on the button. Add it with a QPixmap. I do this in
my constructors.

And if you want some fancy pictures, just sub-class the QFrame, and add
your drawing code to the paint event. Then in designer drop a frame on
your UI and promote it to the new sub-classed frame you created.

Also, Qt is a framework, not a language. The language is C++, but there
are a number of bindings to other languages too (or so I have read and
heard).

And, I think you will find the U/I very easy to build with designer.

Jeffrey

On Sat, 2010-10-09 at 09:05 +0100, atef gharbi wrote:
> Good morning everybody,
> 
> I am interested with the Qt language which offers many opportunities
> to generate  usefull applications.
> 
> Unfortunately, I always find difficulty when I work on graphical
> interface (not especially Qt language).
> 
> The most problem is how to create a new interface containing some
> painting elements when I push on a button.
> 
> Thanks a lot for your help.
> 
> With my best regards.
> 
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator


_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to