<div>Hey!<br><br>I'm developing a propertygrid and I'd like to support flags and enums.<br>Though I couldn't find the information on how to declare pyqtProperties as enums / flags so I can later use <span style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium Arial; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="LINE-HEIGHT: 13px; FONT-FAMILY: Verdana; COLOR: rgb(54,53,52); FONT-SIZE: 11px" class="Apple-style-span"><b><a style="COLOR: rgb(76,0,51); TEXT-DECORATION: none" href="http://mail.google.com/a/futuregames.se/qmetaproperty.html#enumerator">enumerator</a></b><span class="Apple-converted-space"> </span>() of the QMetaProperty.. (you know the rest :) )<br>
<br>In C++ this is done by using Q_ENUMS and Q_FLAGS. These are available in the QtCore so I think I'm just missing something :)<br><br>A quick sample or even forwarding me to the right path is enough :)<br><br>Best regards!</span></span></div>