def __init__( self, words, font ): words.sort() QStringListModel.__init__( self, words ) self.__font = font self.__font.setBold( False ) return
def __init__(self, widgetName, parent=None, *args): QStringListModel.__init__(self, parent, *args) self._app = QApplication.instance().window self._widgetName = widgetName