#NEWLINE# def initListWidget( self ) : #NEWLINE# #INDENT# frameNames = self . getFramesNames ( ) #NEWLINE# for name in frameNames : #NEWLINE# #INDENT# item = QtGui . QListWidgetItem ( name ) #NEWLINE# item . setData ( QtCore . Qt . CheckStateRole , QtCore . Qt . Unchecked ) #NEWLINE# self . listWidget . addItem ( item ) #NEWLINE# self . itemMap [ name ] = item #NEWLINE# #UNINDENT# self . listWidget . connect ( 'itemChanged(QListWidgetItem*)' , frameNames . onItemChecked )