Re: [PyQt] widget swap/widget on top

2011-07-27 Thread ad3d
While using "window modality" one must use widget.hide() and widget.show() which is not desirable for my purpose.. i need to disable widget in the background and keep top level widget enabled.. Nick Gaens wrote: > > I think you should take a look at "window modality" ( > http://doc.qt.nokia.co

Re: [PyQt] widget swap/widget on top

2011-07-27 Thread Nick Gaens
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 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

[PyQt] widget swap/widget on top

2011-07-26 Thread ad3d
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