Deprecation warning from `CodeWidget`
- Dominant language
- Python
- Stars
- 115
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
`CodeWidget` emits the following deprecation warning:
```
/path/to/venv/pyface/ui/qt/code_editor/code_widget.py:91: UserWarning:
The "+" operator is deprecated in Qt For Python 6.0 .
Please use "|" instead.
QtCore.Qt.Modifier.SHIFT + QtCore.Qt.Key.Key_Backtab
/path/to/venv/pyface/ui/qt/code_editor/code_widget.py:94: UserWarning:
The "+" operator is deprecated in Qt For Python 6.0 .
Please use "|" instead.
QtCore.Qt.Modifier.CTRL + QtCore.Qt.Key.Key_Slash
```
The "+" operator is being used to hook up a key sequence here:
https://github.com/enthought/pyface/blob/d6548833ee35e0d27b4db62316fbeef1a98497e5/pyface/ui/qt/code_editor/code_widget.py#L90-L95
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.