Changeset 116260a in sasview for src/sas/qtgui/Plotter2D.py


Ignore:
Timestamp:
Apr 3, 2017 4:04:26 AM (8 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
f182f93
Parents:
9f25bce
Message:

enable real time updates of more 1D charts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotter2D.py

    r9f25bce r116260a  
    4949        self.vmin = None 
    5050        self.vmax = None 
     51 
     52        self.manager = manager 
    5153 
    5254    @property 
     
    277279        variant_plot = QtCore.QVariant(new_plot) 
    278280        GuiUtils.updateModelItemWithPlot(self._item, variant_plot, new_plot.id) 
     281        self.manager.communicator.plotUpdateSignal.emit([new_plot]) 
    279282 
    280283    def setSlicer(self, slicer): 
Note: See TracChangeset for help on using the changeset viewer.