PDA

View Full Version : Icon Sizing Question



bizmopeen
5th August 2009, 00:52
Hello, all;

This may be elementary, but I'm having a problem putting together the correct code. Can anyone tell me how I can use an Icon on a QToolButton or QPushButton that is larger than the "large" 32-pixel size? I need to use several .pngs that are about 80 x 80. Thanks in advance!

bizmopeen
5th August 2009, 19:57
Bump. Any suggestions would be appreciated...thanks.

navi1084
6th August 2009, 04:52
Better you subclass QPushBUtton and drawPixmap() in paintEvent()