PDA

View Full Version : A popup widget in QDialog.



Alex_123
11th June 2009, 15:50
Hello !

I have a mainWidget which is a simple Qt::Window and a QDialog on it which executes modally. When a user clicks on a button in the dialog I need to show a QWidget like Qt::Popup (or maybe Qt::Tool). The point is it should be able to receive and process events and my dialog should also be able to receive and process events. Other widgets are to be shadowed by the modal dialog.

Any suggestions how to that? Mostly X11 and MAC.

Alex_123
11th June 2009, 16:25
Actually I just found that Qt::Popup works good enough\\\