[PyQt] Qt.MatchFlags AND comparison

Demetrius Cassidy dcassidy36 at mass.rr.com
Sun Sep 5 17:37:19 BST 2010


Having a hard time figuring something that should be simple.

If I do Qt.MatchWildcard & Qt.MatchContains, it returns 1, but if I do
Qt.MatchContains & anything else (other than Qt.MatchContains itself) it
returns 0 as expected. What am I doing wrong, and how am I supposed to
compare my flags to a specific flag other than doing bitwise AND against the
other flag?
-- 
View this message in context: http://old.nabble.com/Qt.MatchFlags-AND-comparison-tp29627864p29627864.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list