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

Transparent Window

$
0
0
Hi all, i m new on QT and i m trying to develop a launcher. i set a transparent image at background but as u can see on this link ( http://prntscr.com/2a3qpz ), a black frame is surround my image. I researched on many websites, but i couldn’t get anything about that. transparent image http://prntscr.com/2a3qw6 i ve something which set background image, it works but not enough for my project. how can i delete this black frame? Can someone help me please?         QPalette* palette = new QPalette();         palette->setBrush(QPalette::Background,*(new QBrush(*(new         QPixmap(":/new/MyResources/launcher.png")))));         setPalette(*palette);         setWindowFlags(Qt::FramelessWindowHint); Thank You

Viewing all articles
Browse latest Browse all 13965

Trending Articles