Hi, I need to modify the shadow of a QMenu. I am developing a custom style, and I need to change the position of QMenu's shadow. Any help would be apreciated.
Thanks
Hi, I need to modify the shadow of a QMenu. I am developing a custom style, and I need to change the position of QMenu's shadow. Any help would be apreciated.
Thanks
Look at Qt::NoDropShadowWindowHint and Qt::FramelessWindowHint window flags in conjunction with Qt::WA_TranslucentBackground widget attribute. This way you can remove the standard QMenu frame and create a custom border including the shadow by the means of your own image.
Magicians do not exist
Bookmarks