adamerose / adamerose/PandasGUI

Change the qt calls to use qtpy to deal with different Qt bindings

Đang mở
#168 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
3.3k
Fork
239
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Today the best approach to ensure some consistency and flexibility across different Qt python bindings (PyQt5, PySide2, PyQt6, PySide6, ...) is the use of [QtPy: Abstraction layer for PyQt5/PyQt4/PySide2/PySide](https://github.com/spyder-ide/qtpy).

I propose a set of minor changes to ensure all the calls to Qt bindings are performed via from qtpy import.

By default the module to be called will be PyQt5 but it can be changed by setting the environment variable QT_API.

If the proposal is accepted, I will submit a git commit against the latest version.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.