def __init__(self, plot, parent=None): PlotAction.__init__(self, plot, icon='shape-circle', text='Shift up', tooltip='Shift active curve up by one unit', triggered=self.shiftActiveCurveUp, parent=parent)
def __init__(self, plot, parent=None): PlotAction.__init__( self, plot, icon=qt.QIcon(my_icon), text='FFT', tooltip='Perform Fast Fourier Transform on all curves', triggered=self.fftAllCurves, checkable=True, parent=parent)
def __init__(self, plot, parent=None): PlotAction.__init__( self, plot, icon=qt.QIcon(my_icon), text="FFT", tooltip="Perform Fast Fourier Transform on all curves", triggered=self.fftAllCurves, checkable=True, parent=parent, )