Hi,
i want add image to my button and do not use text
for that i amke like that
BUT i do not see my image , just umpty buttonQt Code:
To copy to clipboard, switch view to plain text mode
that's my image
img.jpg
Hi,
i want add image to my button and do not use text
for that i amke like that
BUT i do not see my image , just umpty buttonQt Code:
To copy to clipboard, switch view to plain text mode
that's my image
img.jpg
Last edited by robelle; 30th January 2013 at 15:24.
is there "isnull" in Qtoolbuton to test icon ?What does isNull() return for your icon?
Did You have a plugin for JPG files ?
No,
i just add the code in my first reply, i did not add any line to read the image ? does i must read iyt before ?
What You see on screen after this :Qt Code:
qDebug() << imageType;To copy to clipboard, switch view to plain text mode
i see the "jpg",bmp"...................................
Added after 10 minutes:
it work
the problem was in the linf of the image
i make it like that
and it must to be like that
Last edited by robelle; 30th January 2013 at 13:37.
This is a C/C++ abc. Should be :
Bookmarks