[PyQt] widget swap/widget on top

Nick Gaens mail at nickgaens.com
Wed Jul 27 09:30:50 BST 2011


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 <alhaddeshpande at 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 at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



-- 
Nick Gaens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110727/8430c8e1/attachment.html>


More information about the PyQt mailing list