PDA

View Full Version : How to bring a dialogbox to the front?



bood
2nd August 2006, 11:45
In Qt3

Just like the message box does. But I cannot use it coz I must put something else in the dialog. So that the user can immediately see the dialogbox.

I didnot find any function. I tried setFocus and raise, none of them works.

munna
2nd August 2006, 11:56
try setting the flag

Qt::WType_TopLevel or Qt::WType_Dialog

bood
2nd August 2006, 16:04
try setting the flag

Qt::WType_TopLevel or Qt::WType_Dialog

The problem is that the dialog won't be actived automatically when shown, but the message box will...
Any solution?