Re: Qt/PyQt 5.9.x. Correct way to get an "enumeration flags" to return 0?

Barry Scott <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>

> On 10 Jul 2019, at 11:55, J Barchan <[email protected]> wrote:
> 
> If I return QOrientations() that works, but I'm unsure if that guarantees to return zero.

I've not tried this - not ready to update Qt yet - does this print 0 to confirm the value in the enum?

print( int( QOrientations())

Barry

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.