Ignore:
Timestamp:
May 2, 2017 9:04:48 AM (7 years ago)
Author:
Piotr Rozyczko <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:
02ddfb4
Parents:
0a6e097
Message:

Compute/Show? Plot button logic: SASVIEW-271
Unit tests for plotting in fitting: SASVIEW-501

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/GuiManager.py

    r28a09b0 rd48cc19  
    335335        self.communicate.perspectiveChangedSignal.connect(self.perspectiveChanged) 
    336336        self.communicate.updateTheoryFromPerspectiveSignal.connect(self.updateTheoryFromPerspective) 
     337        self.communicate.plotRequestedSignal.connect(self.showPlot) 
    337338 
    338339    def addTriggers(self): 
     
    727728        self.filesWidget.updateTheoryFromPerspective(index) 
    728729 
    729  
    730  
     730    def showPlot(self, plot): 
     731        """ 
     732        Pass the show plot request to the data explorer 
     733        """ 
     734        if hasattr(self, "filesWidget"): 
     735            self.filesWidget.displayData(plot) 
     736 
Note: See TracChangeset for help on using the changeset viewer.