Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-26 | Automatically rewrite enums | Florian Bruhin | |
See #5904 | |||
2021-08-26 | Blanket PyQt5 -> PyQt6 | Florian Bruhin | |
2021-02-03 | Revert "Pass through keys when a context menu is open" | Florian Bruhin | |
This reverts commit 708a7630e78251e9df9ae2b69796bad6c88ae7af. | |||
2021-02-03 | Pass through keys when a context menu is open | Florian Bruhin | |
2021-01-26 | doc: Switch URLs to https | Florian Bruhin | |
2021-01-20 | Bump copyright years | Florian Bruhin | |
Closes #6015 | |||
2021-01-11 | Add objects.qapp to avoid needing to None-check | Florian Bruhin | |
We know that QApplication.instance() will always be non-None for practical purposes, but the stubs now (correctly) declare it as Optional. See https://github.com/stlehmann/PyQt5-stubs/pull/126 | |||
2020-10-28 | mypy: use from-import style for typing | Tim Brown | |
Update files in `keyinput`, `mainwindow`, and `misc`. See #5396 | |||
2020-05-09 | mypy: Fix typing around eventfilters | Florian Bruhin | |
See #5368 | |||
2020-04-21 | Micro-optimize global eventFilter | Florian Bruhin | |
Might not make a big difference, but probably worth it, given that this can be called a lot when there are events coming to Qt. Based on a couple of assumptions: - We won't be interested in most events - Very often, events are not going to a QWindow, so we discard them as early as possible. - Very often, it's an event of a type we're not interested in, so we also discard those as early as possible. - "not self._activated" happens rarely. - "if typ not in self._handlers:" is significantly faster than try/except KeyError - try:/except: is only needed around the handler call itself, as we can be reasonably certain the code above won't raise an exception. See #5376 | |||
2020-01-13 | Add types for eventfilter/quitter | Florian Bruhin | |
2020-01-13 | Move EventFilter out of app.py | Florian Bruhin | |