<div dir="ltr">Hi,<div><br></div><div>In the case of an enum (with Q_ENUM macro), it would be interesting to have a way to get the parent class to be able to get the meta enum from the enum value (enumValue):</div><div><br></div><div><div>base = type(enumValue).parentClass()</div><div>idx = base.staticMetaObject.indexOfEnumerator(type(enumValue).__name__)</div><div>metaenum = base.staticMetaObject.enumerator(idx)</div></div><div><br></div><div>Would it be possible to add this capability to sip.enumType ?</div><div>Either to return the parent class or directly the metaEnum?</div><div><br></div><div>Phil, how complicate is it?</div><div>Do you have any interest/plan to do it...?</div><div><br></div><div>Cheers,</div><div>Denis</div><div><br></div></div>