Look up a type, following the class hierarchy.
e.g. "Mode", if ContextClassName is A, will be looked as A::Mode,
then as B::Mode (if B is a parent class of A), then as Qt::Mode,
then as just Mode.
Look up a type, following the class hierarchy.
e.g. "Mode", if ContextClassName is A, will be looked as A::Mode,
then as B::Mode (if B is a parent class of A), then as Qt::Mode,
then as just Mode.