Add support for QML enums.
[Imported from GitHub]
- GitHub id: 52
- Author: Skycoder42
- Created at: 2019-09-27 07:16:55+00:00
QML supports the declaration of custom enum types (I think since 5.12). They are used as follows and should appear as enums in the generated cpp class:
//! brief description for the whole enum
enum TextMode {
Dynamic, //!< brief description for the enum values
Static, //!< brief description for the enum values
Cancel //!< brief description for the enum valuescheck
}