#NEWLINE# def mouseDoubleClickEvent( self , event ) : #NEWLINE# #INDENT# new_color = QtGui . QColorDialog . getColor ( self . _color ) #NEWLINE# if ( not new_color . isValid ( ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . _color = new_color #NEWLINE# if self . _left_line : #NEWLINE# #INDENT# self . _left_line . refresh ( ) #NEWLINE# #UNINDENT# if self . _right_line : #NEWLINE# #INDENT# self . _right_line . refresh ( ) #NEWLINE# #UNINDENT# self . refresh ( ) #NEWLINE# self . scene ( ) . _tf_poly . setup ( )