Exemplo n.º 1
0
 def onPlotsButtonToggled(self, checked):
     if checked:
         from sardana.taurus.qt.qtgui.macrolistener import \
             DynamicPlotManager
         self.__plotManager = DynamicPlotManager(self)
         self.__plotManager.setModel(self.getModelName())
     else:
         self.__plotManager.removePanels()
         self.__plotManager.setModel(None)
         self.__plotManager = None
Exemplo n.º 2
0
 def onPlotsButtonToggled(self, checked):
     if checked:
         from sardana.taurus.qt.qtgui.macrolistener import \
             DynamicPlotManager
         self.__plotManager = DynamicPlotManager(self)
         self.__plotManager.setModel(self.getModelName())
         self.experimentConfigurationChanged.connect(
             self.__plotManager.onExpConfChanged)
     else:
         self.experimentConfigurationChanged.disconnect(
             self.__plotManager.onExpConfChanged)
         self.__plotManager.removePanels()
         self.__plotManager.setModel(None)
         self.__plotManager = None