You can wrap the enum in a class which derives from QObject (and that you expose to QML): style.hpp : #ifndef STYLE_HPP #define STYLE_HPP #include #i.
確定! 回上一頁