Qt irregular window
Others
2020-04-04 15:29:11
views: null
QPixmap pic("D:/untitled/image/pic.png");
ui->pushButton->setMask(QBitmap(pic.mask()));
The key is setMask function , and a shutter pictures, the pictures pic function non-transparent portion region will ui-> pushButton obscured;
Published 104 original articles
·
won praise 22
·
views 40000 +
Origin blog.csdn.net/qq_41672557/article/details/103303196