- Q_FLAGS、Q_ENUMS用于注册flags、enums到meta-object system,以便在Qt Script中使用,或在Qt Designer中使用。另外,在使用Qt property system时, The enumeration type must be registered with the Meta-Object System using the Q_ENUMS() macro. Registering an enumeration type makes the enumerator names available for use in calls to QObject::setProperty().
Qt源代码学习心得之一二
最新推荐文章于 2023-10-16 08:00:00 发布
2916

被折叠的 条评论
为什么被折叠?



