23 Q_CLASSINFO(
"version",
"1.02" );
25 Q_PROPERTY( QString Key READ Key WRITE setKey )
26 Q_PROPERTY(
int Value READ Value WRITE setValue )
27 Q_PROPERTY( QString Desc READ Desc WRITE setDesc )
35 static inline
void InitializeCustomTypes();
37 Q_INVOKABLE explicit
EnumItem( QObject *parent =
nullptr)
46 m_Value = src->m_Value;
47 m_Desc = src->m_Desc ;
56 qRegisterMetaType< EnumItem* >();