def getMonospaceFontList(): " Provides a list of strings with the system installed monospace fonts " result = [] combo = QFontComboBox() combo.setFontFilters(QFontComboBox.MonospacedFonts) for index in xrange(combo.count()): face = str(combo.itemText(index)) if face.lower() != "webdings": result.append(face) return result