I think you should take a look at "window modality" (<a href="http://doc.qt.nokia.com/latest/qwidget.html#windowModality-prop">http://doc.qt.nokia.com/latest/qwidget.html#windowModality-prop</a>).<br><br><div class="gmail_quote">

On Wed, Jul 27, 2011 at 07:46, ad3d <span dir="ltr"><<a href="mailto:alhaddeshpande@gmail.com">alhaddeshpande@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Hi guys,<br>
<br>
   if i press a button on mainwindow i want another widget i.e. widget1 to<br>
popup, but that widget1 should be on top and the mainwindow should be<br>
disabled.. same should happen if i try to open a new widget i.e. widget2 by<br>
pressing a button on widget1 (widget 2 should be on top and other 2 widgets<br>
should be disabled)<br>
<br>
  in this process i dont want to hide the disabled widgets/windows..<br>
<br>
  Can someone plz guide me to achieve the same..<br>
<br>
  Thanx in advance<br>
<br>
Regards,<br>
ad3d<br>
<font color="#888888">--<br>
View this message in context: <a href="http://old.nabble.com/widget-swap-widget-on-top-tp32145442p32145442.html" target="_blank">http://old.nabble.com/widget-swap-widget-on-top-tp32145442p32145442.html</a><br>
Sent from the PyQt mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Nick Gaens<br>