I think you should take a look at "window modality" (
http://doc.qt.nokia.com/latest/qwidget.html#windowModality-prop).

On Wed, Jul 27, 2011 at 07:46, ad3d <alhaddeshpa...@gmail.com> wrote:

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



-- 
Nick Gaens
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to