PyQt6 enum conversion tool

Florian Bruhin me at the-compiler.org
Sat Jun 18 13:18:50 BST 2022


Hey,

On Fri, Jun 17, 2022 at 01:02:17PM +0200, kristof.mulier at telenet.be wrote:
> I wrote a Python script to automatically convert short-form PyQt5-style enums into fully qualified names. I thought it could be interesting to share: 
> 
> https://stackoverflow.com/a/72658216/6178507

Also see the script I wrote:
https://github.com/qutebrowser/qutebrowser/blob/qt6-v2/scripts/dev/rewrite_find_enums.py
https://github.com/qutebrowser/qutebrowser/blob/qt6-v2/scripts/dev/rewrite_enums.py

And the one JakobDev wrote:
https://gitlab.com/JakobDev/PyQtEnumConverter

Florian

-- 
            me at the-compiler.org | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220618/697bbbb2/attachment.sig>


More information about the PyQt mailing list