Hi,
how I can load a file from a QPixmap? does it have something like a "filename" or all the image files should be added as resources?
thanks!
Hi,
how I can load a file from a QPixmap? does it have something like a "filename" or all the image files should be added as resources?
thanks!
Just read the QPixmap docs and find out.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
I already did, what I'd like to know if there is any way to access to the files in Symbian, so I could load them from there. Or if the only method is to load it as resource.
And you missed that?!:I already did,
http://doc.trolltech.com/4.6/qpixmap.html#load
I haven't coded for Symbian yet, but I don't think there should be any difference in how the API works, AFAIK.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks