(1) Scaling pixmaps: see QPixmap::scaled()
(2) When you setIcon() the icon is displayed on the button. The subsequent setIconSize() will change nothing.
Therefore:
Qt Code:
ui.PushButtonUp->setIcon(imgIcon);To copy to clipboard, switch view to plain text mode




Reply With Quote

Bookmarks