StyleClass() : QObject() {} enum EnStyle { STYLE_RADIAL, STYLE_ENVELOPE, STYLE_FILLED }; Q_ENUMS(EnStyle) // Do not forget to declare your class to the QML ...
確定! 回上一頁