Ejemplo n.º 1
0
 def popup_unread_curves(self):
     unread = CurveDB.objects.filter_param('user_has_read', value=False)
     if unread:
         for curve in unread:
             self.search_widget.refresh_one_id(curve.id)
         curve = unread[0]
         self.display(curve)
         if self.plot_popups:
             win = get_window(curve.params['window'])
             win.plot(curve)
     self.popup_timer.start()
Ejemplo n.º 2
0
 def popup_unread_curves(self):
     unread = CurveDB.objects.filter_param('user_has_read', value=False)
     if unread:
         for curve in unread:
             self.search_widget.refresh_one_id(curve.id)
         curve = unread[0]
         self.display(curve)
         if self.plot_popups:
             win = get_window(curve.params['window'])
             win.plot(curve)
     self.popup_timer.start()
 def plot(dummy, curves=curves):
     curves.reverse()
     for curve in curves:
         win = get_window(curve.params["window"])
         win.plot(curve)
         win.show()
Ejemplo n.º 4
0
 def plot(dummy, curves=curves):
     curves.reverse()
     for curve in curves:
         win = get_window(curve.params["window"])
         win.plot(curve)
         win.show()