[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] widget swap/widget on top
From: ad3d <alhaddeshpande () gmail ! com>
Date: 2011-07-27 9:41:55
Message-ID: 32146604.post () talk ! nabble ! com
[Download RAW message or body]
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.com/latest/qwidget.html#windowModality-prop).
>
> On Wed, Jul 27, 2011 at 07:46, ad3d <alhaddeshpande@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
>
--
View this message in context: http://old.nabble.com/widget-swap-widget-on-top-tp32145442p32146604.html
Sent from the PyQt mailing list archive at Nabble.com.
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic