摘要: #include <QMetaEnum>public: enum TestType{ TEST1=0, TEST2 }; Q_ENUM(TestType) QMetaEnum metaEnum = QMetaEnum::fromType<MainWidget::TestType>();for (in 阅读全文
posted @ 2020-05-21 18:06 ike_li 阅读(705) 评论(0) 推荐(1) 编辑