[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] PyQt5 QStyleOptionButton enum problem
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2015-10-28 5:43:41
Message-ID: 508B8545-12CF-4992-BCE8-5156DFC25F1D () riverbankcomputing ! com
[Download RAW message or body]
On 27 Oct 2015, at 3:32 p.m., Damon Lynch <damonlynch@gmail.com> wrote:
>
> 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:
> QStyleOptionButton.None
>
> Whereas other enum values like these do:
> QStyleOptionButton.Flat
>
> For now I'm using this as a workaround, which I hope will work:
> QStyleOptionButton.ButtonFeature(0)
Should be implemented as None_ in current snapshots.
Thanks,
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic