[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Modal window issue with pyqt on KDE
From:       Hans-Peter Jansen <hpj () urpla ! net>
Date:       2016-12-28 19:48:54
Message-ID: 3005875.535zfnTUpU () xrated
[Download RAW message or body]

[Michael, please keep the discussion on list...]

On Mittwoch, 28. Dezember 2016 18:48:51 you wrote:
> Yeah - I doubted if the KDE would fix this, but I will probably file a bug
> anyway - it is KDE specific after all.
> 
> Thanks for that suggestion (didn't think to check show()) - just tested
> show() and it works correctly - but in order for this to be a suitable
> workaround I would need to disable / enable every widget on my MainWindow
> (my real application has far more complicated MainWindow UI), presumably
> setDisabled() would be most concise way to deal with this:

If the dialogs should be modal, try setModal...

You could workaround the problem with an closeEvent handler in your main 
window, and minimize all other windows, when it's minimized...

Pete
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://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