View Full Version : Transparent QMenu in QMenuBar
Sashabn
6th May 2016, 08:41
Hi guys, how can i make a transparent QMenu in QMenuBar @ top of a app.
I was try with a styleSheet, but without success.
Thanks for help.
11928
sonulohani
8th May 2016, 09:16
Do this in ctor of your QMenu class:-
setStyleSheet("background:transparent;");
setAttribute(Qt::WA_TranslucentBackground);
setWindowFlags(Qt::FramelessWindowHint);
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.