def iter_all_types(self): for binding in (qtcore, qtgui): for typ in Type.iter_types(binding): yield typ