#NEWLINE# def selectAxesOperationEvent( self ) : #NEWLINE# #INDENT# ' Event handler for when a user selects an operation from the\n        axes operations popup menu (located to right of the sliders):\n        sum, avg, awt, gtm, etc ...\n        ' #NEWLINE# op = self . sender ( ) . text ( ) [ : 3 ] #NEWLINE# if ( op == 'awt' ) : #NEWLINE# #INDENT# definedVars = self . myParent . getParent ( ) . getDefinedVars ( ) #NEWLINE# QReplaceAxisWeightsDialog ( definedVars , self ) . show ( ) #NEWLINE# return #NEWLINE# #UNINDENT# self . axisOperationsButton . setText ( ( ' %s  ' % op ) ) #NEWLINE# axesOperations = self . myParent . getAxesOperations ( ) #NEWLINE# varWidget = self . myParent . getParent ( ) #NEWLINE# varWidget . emit ( QtCore . SIGNAL ( 'updateModule' ) , self . myParent . currentTabName ( ) , 'axesOperations' , str ( op ) )