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