Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Qt::WA_TranslucentBackground

$
0
0
I have change window attribute and look with setAttribute(Qt::WA_TranslucentBackground, true); setWindowFlags(Qt::FramelessWindowHint); and add some stylesheet code. later I want to change back to normal style with this->setWindowFlags(Qt::Window); and this change back titlebar but this code setAttribute(Qt::WA_TranslucentBackground, false); didn’t change and I have transparent some widgets and ugly paint on them. How to get back with code?

Viewing all articles
Browse latest Browse all 18427

Trending Articles