[RoLUG] Immagini in QT

Eduard Roccatello ed@roccatello.it
Ven 20 Ago 2004 18:51:26 CEST


On Wed, 18 Aug 2004 15:40:10 +0200
Luca Ferrari <alexluca@inwind.it> wrote:

> Sapete come faccio per usare, quando il programma è in esecuzione,
> delle icone già presenti nel computer??
> 
QImage::QImage ( const QString & fileName, const char * format = 0 )
Constructs an image and tries to load the image from the file fileName.

If format is specified, the loader attempts to read the image using the
specified format. If format is not specified (which is the default), the
loader reads a few bytes from the header to guess the file format.

If the loading of the image failed, this object is a null image.

RTFM!


-- 
Eduard Roccatello

XFce desktop enviroment:                          http://www.xfce.org
S.P.I.N.E. Research Group:                 http://www.spine-group.org
Pc Improver hi-tech portal:                  http://www.pcimprover.it


Maggiori informazioni sulla lista RoLUG