[PyQt] Modal window issue with pyqt on KDE
Hans-Peter Jansen
hpj at urpla.net
Wed Dec 28 19:48:54 GMT 2016
[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
More information about the PyQt
mailing list