<div dir="ltr"><div>I have no idea if this is expected behaviour, but this definitely does not work with Python 3.4.3+ and PyQt 5.4.2:<br><br>QStyleOptionButton.None<br><br>Whereas other enum values like these do:<br>QStyleOptionButton.Flat<br><br></div>For now I'm using this as a workaround, which I hope will work:<br>QStyleOptionButton.ButtonFeature(0)<br><div><br clear="all"><div><div><br></div><div>Best,<br></div><div>Damon<br></div><div>-- <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>