adamerose / adamerose/PandasGUI

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

未關閉
#168 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
3.3k
分支
239
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。