Since Qt 5.10, enumerations are directly supported in QML. See Qt documentation which contains sample code. You can define one with the enum ...
確定! 回上一頁