pvt motion
This commit is contained in:
@@ -109,7 +109,7 @@ class MAMainFrame(wx.Frame):
|
||||
|
||||
sizer.Add(wxTxt, 1, wx.LEFT | wx.TOP | wx.GROW)
|
||||
|
||||
wxTimeCtrl=ut.SliderGroup(self, label='Time', range=(0, 1000))
|
||||
wxTimeCtrl=ut.SliderGroup(self, label='DataPoint', range=(0, 1000))
|
||||
wxTimeCtrl.SetCallback(MAMainFrame.OnSetTime, wxTimeCtrl)
|
||||
sizer.Add(wxTimeCtrl.sizer, 0, wx.EXPAND | wx.ALIGN_CENTER | wx.ALL, border=5) #wxSplt.SplitVertically(wxTree, wxTxt)
|
||||
wxPosCtrl=ut.SliderGroup(self, label='Position', range=(0, 1000))
|
||||
@@ -126,6 +126,7 @@ class MAMainFrame(wx.Frame):
|
||||
self.wxTxt=wxTxt
|
||||
#self.wxTree=wxTree
|
||||
#self.display=wxTxt
|
||||
|
||||
def __del__(self):
|
||||
self.CloseFile()
|
||||
|
||||
@@ -298,6 +299,14 @@ if __name__ == '__main__':
|
||||
if args.npzFile:
|
||||
frame.OpenFile(args.npzFile)
|
||||
frame.Show(True)
|
||||
|
||||
f1 = MAxyPlotFrame(frame, doc)
|
||||
f1.Show(True)
|
||||
f2= MAErrorFrame(frame, doc)
|
||||
f2.Show(True)
|
||||
f3= MAVelocityFrame(frame, doc)
|
||||
f3.Show(True)
|
||||
|
||||
self.SetTopWindow(frame)
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user