Changeset 116260a in sasview for src/sas


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

Location:
src/sas
Files:
3 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): 
  • src/sas/sasgui/guiframe/local_perspectives/plotting/AnnulusSlicer.py

    r161713c r116260a  
    149149        variant_plot = QtCore.QVariant(new_plot) 
    150150        GuiUtils.updateModelItemWithPlot(self._item, variant_plot, new_plot.id) 
     151        self.base.manager.communicator.plotUpdateSignal.emit([new_plot]) 
    151152 
    152153        if self.update_model: 
  • src/sas/sasgui/guiframe/local_perspectives/plotting/SectorSlicer.py

    r161713c r116260a  
    171171        variant_plot = QtCore.QVariant(new_plot) 
    172172        GuiUtils.updateModelItemWithPlot(self._item, variant_plot, new_plot.id) 
     173        self.base.manager.communicator.plotUpdateSignal.emit([new_plot]) 
    173174 
    174175        if self.update_model: 
Note: See TracChangeset for help on using the changeset viewer.