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.
menubarqt.jpg
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.
menubarqt.jpg
Do this in ctor of your QMenu class:-
Qt Code:
setStyleSheet("background:transparent;"); setAttribute(Qt::WA_TranslucentBackground); setWindowFlags(Qt::FramelessWindowHint);To copy to clipboard, switch view to plain text mode
Heavy Metal Rules. For those about to rock, we salute you.
HIT THANKS IF I HELPED.
Bookmarks