Simply set its window Flag Qt::Window, I hope it help you,
you can also prevent your escape key event by explicitly change its event using keyPressEevnt(QKeyEvent *event).........![]()
Simply set its window Flag Qt::Window, I hope it help you,
you can also prevent your escape key event by explicitly change its event using keyPressEevnt(QKeyEvent *event).........![]()
Thanks for the reply.
Actually it does not make any difference when I use Qt::Windows flag but I will try out second method of changing the keyPressEvent.
Yes the key event method does work.
Thanks.
Bookmarks