enthought / enthought/pyface

Migrate `pyface.qt` API to a more modern one

Open
#1,052 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Currently `pyface.qt.*` mirrors the Qt4 API. It would help future development if we instead tried to mimic a more recent common API structure, either Qt6 or Qt5. However considerable code outside of Qt uses `pyface.qt.*` so change needs to be cautious and incremental.

A possible approach is to create a submodule for the Qt4 API (eg. `pyface.qt4.*` or similar) which is initially just a copy, together with a deprecation warning that the API will change in the future suggesting that users can import from `pyface.qt4.*`, and then make the changes in a future release.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.