tablexplore icon indicating copy to clipboard operation
tablexplore copied to clipboard

replaced Qt bindings with qtpy

Open EmanueleCannizzaro opened this issue 3 years ago • 2 comments

The Spyder project has developed a QtPy: Abstraction layer for PyQt5/PyQt4/PySide2/PySide that can be used to provide a more flexible use to the system available Qt modules.

A minor modification to the import call make it possible to set the module based on the environment variable QT_API.

EmanueleCannizzaro avatar Aug 29 '21 09:08 EmanueleCannizzaro

This creates a dependency on QtPy. Is this a standalone package?

dmnfarrell avatar Aug 31 '21 10:08 dmnfarrell

Yes, I believe it is. I check for the Qt binding for python available on the machine, that is PyQt5, Pyside2, PySide6, PyQt6, PySide or PyQt.

Cheers, Emanuele

On Tue, 31 Aug 2021, 12:59 Damien Farrell, @.***> wrote:

This creates a dependency on QtPy. Is this a standalone package?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dmnfarrell/tablexplore/pull/2#issuecomment-909129028, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUE5KH7BWZE3IO6UP6HNJTT7SYXNANCNFSM5DABSQIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

EmanueleCannizzaro avatar Aug 31 '21 14:08 EmanueleCannizzaro