PDA

View Full Version : setWindowFlags(Qt::FramelessWindowHint)



smarinr
30th April 2008, 01:56
hi,
if I set setWindowFlags(Qt::FramelessWindowHint) what happen with the menu that it should be appearing when i right-click on the app at the task bar? any idea?

pherthyl
30th April 2008, 03:45
What do you mean what happens to the menu? Does it not appear?

smarinr
30th April 2008, 17:13
See attachment!!!!

if you set the FramelessWindowHint FLAG to windowFlags, it doesn´t show me that menu...
any idea?

fnmblot
30th April 2008, 18:16
That's the context menu

smarinr
30th April 2008, 18:21
thanks!!!

so that! if I set that flag, the context menu dont show up... any idea how could I set the flag and also see the menu?

aamer4yu
30th April 2008, 20:12
To set the context menu, you need to override the QWidget::contextMenuEvent function of the widget.

Hope u wanted to achieve this :)