itera através da enum no QT

//in Qt
	#include <QMetaEnum>
    
    const QMetaEnum metaCardID = QMetaEnum::fromType<Colour>();
    for (int i=0;i<metaCardID.keyCount();++i)
    {
       value =  metaCardID.value(i);
    
    }
Pieter21