Details
-
Suggestion
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
None
-
None
Description
I'm trying to port a certain C++ project to PySide, and certain enums use `None` as an attribute, which raises syntax error in Python due to `None` being a keyword. E.g., `Update.None`.
As for renaming of enums themselves, I need this to replicate Qt naming scheme, to convert acronyms to generic words, etc. E.g., `IMEInteraction` --> `ImeInteraction`,
I've tried using `<enum-type> <modify-field name="None" rename="Nil" /> </enum-type>`, but it didn't work, not to mention that `<enum-type />` doesn't have an attribute to rename enum. Lack of such features forces me to create custom version of the file with these enums, which is error-prone.