<div dir="ltr"><div><div><div><div><div>The Qt 5 docs specify enum Qt::AlignmentFlag and flags Qt::Alignment.<br><br></div>Obviously this is valid: <br><br>layout.setAlignment(widget, Qt.AlignTop)<br></div><br>But is this supported? <br><br>layout.setAlignment(widget, Qt.AlignmentFlag())<br><br></div>It has the effect of resetting the alignment flag, which is precisely what I want it to do. Is that the supported way of resetting a flag? If this is already discussed in the docs please let me know as I've been unable to locate it.<br><br></div>Thanks<br></div>Damon<br clear="all"><div><div><div><div><div><div><div><div><br>-- <br><div class="gmail_signature"><a href="http://www.damonlynch.net" target="_blank">http://www.damonlynch.net</a><div></div><div></div><div></div></div>
</div></div></div></div></div></div></div></div></div>