Quantcast
Viewing all articles
Browse latest Browse all 4972

How to create QML enumeration like those of Qt QML type?

For doing that: create a subclass of QObject, add an enum declaration, declare it using Q_ENUM and register the object with qmlRegisterType

Viewing all articles
Browse latest Browse all 4972

Trending Articles