Dear Friends,
I want to add a pixmap to QPushButton and draw it as QIcon, and add a text under QIcon,
QPushButton size is (100,100) QIcon size is 64x64 , How may I draw Icon at pos(10,10)
then drawtext under Icon?
Dear Friends,
I want to add a pixmap to QPushButton and draw it as QIcon, and add a text under QIcon,
QPushButton size is (100,100) QIcon size is 64x64 , How may I draw Icon at pos(10,10)
then drawtext under Icon?
Subclass and do the drawing yourself or better use QToolButton, because this class does exactly what you want.
Bookmarks