Qt enum ,#include public:enumTestType{TEST1=0,TEST2};Q_ENUM(TestType)QMetaEnummetaEnum=QMetaEnum::fromType ();for(in.
確定! 回上一頁