#NEWLINE# def getSelectedValues( self , ignore_first_value = False ) : #NEWLINE# #INDENT# selected = [ ] #NEWLINE# if i : #NEWLINE# #INDENT# start_idx = 1 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# start_idx = 0 #NEWLINE# #UNINDENT# for i in range ( start_idx , self . getItemCount ( ) ) : #NEWLINE# #INDENT# if self . isItemSelected ( i ) : #NEWLINE# #INDENT# selected . append ( self . getValue ( i ) ) #NEWLINE# #UNINDENT# #UNINDENT# return selected