Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

make pixmap transparent on QPushButton

$
0
0
Hello , i want to set transparent pixmap on QPushButton. the image that is loaded not transparent. EX. QImage image(“ex.xpm”) QPixmap pix(image.copy(, 0,.width,height)); button.setIcon(pix); here ex.xpm is not transparent. please help me.

Viewing all articles
Browse latest Browse all 13965

Trending Articles