def OnCalcContinousMeasure(self, event): calcontinousmeasureapp = wx.App() frame = CalContinousMeasureFrame() calcontinousmeasureapp.MainLoop()
def OnCalcPM5(self, event): calcPM5app = wx.App() frame = CalPM5Frame() calcPM5app.MainLoop()
def OnPlots(self, event): plotsapp = wx.App() frame = PlotsFrame() plotsapp.MainLoop()
def OnCalcAdev(self, event): calcAdevapp = wx.App() frame = PlotAllanDevFrame() calcAdevapp.MainLoop()
def OnCalcSpurius(self, event): calcspuriusapp = wx.App() frame = SpuriusFrame() calcspuriusapp.MainLoop()
def OnCalCablePM(self, event): calcableapppm = wx.App() frame = CalCableFramePM() calcableapppm.MainLoop()
def OnCalCable(self, event): calcableapp = wx.App() frame = CalCableFrame() calcableapp.MainLoop()
def OnCalcSpurius(self, event): calcspuriusapp = wx.App() frame = SpuriusFrame() calcspuriusapp.MainLoop() def OnCalcAdev(self, event): calcAdevapp = wx.App() frame = PlotAllanDevFrame() calcAdevapp.MainLoop() def OnCalcPM5(self, event): calcPM5app = wx.App() frame = CalPM5Frame() calcPM5app.MainLoop() def OnPlots(self, event): plotsapp = wx.App() frame = PlotsFrame() plotsapp.MainLoop() def OnExit(self, event): sys.exit() # ---------------------------------------------------------------------- if __name__ == "__main__": app = wx.App() frame = MainFrame(None) app.MainLoop()