[Qt-interest] Qusetion about setIconSize() ?
Kermit Mei
kermit.mei at gmail.com
Mon Jul 13 13:05:31 CEST 2009
Hello community!
If my picture's size is 48X48, and I use it as a QPushButton's icon. Can
I set the icon's size as 56x56? I did it, but there's no effect.
When I set the picture's size as 56x56 using GIMP, then I can see the
big icon after setting it with "btn->setIconSize(QSize(56,56));"
Why? Does Qt can't use small picture as a icon if you want to show it
more than the picture itself?
Thanks.
Kermit
More information about the Qt-interest-old
mailing list