Changes in / [6d87082:8eea1b1] in sasview


Ignore:
Location:
src/sas/qtgui
Files:
3 edited

Legend:

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

    rfa762f4 r20f4857  
    602602        can be saved to the clipboard 
    603603        """ 
    604         self.communicate.copyFitParamsSignal.emit("Excel") 
     604        self.communicate.copyExcelFitParamsSignal.emit("Excel") 
    605605 
    606606    def actionLatex(self): 
     
    609609        can be saved to the clipboard 
    610610        """ 
    611         self.communicate.copyFitParamsSignal.emit("Latex") 
     611        self.communicate.copyLatexFitParamsSignal.emit("Latex") 
    612612 
    613613    #============ VIEW ================= 
  • src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py

    r085409e3 r20f4857  
    6565        self.communicate.copyFitParamsSignal.connect(self.onParamCopy) 
    6666        self.communicate.pasteFitParamsSignal.connect(self.onParamPaste) 
     67        self.communicate.copyExcelFitParamsSignal.connect(self.onExcelCopy) 
     68        self.communicate.copyLatexFitParamsSignal.connect(self.onLatexCopy) 
     69 
    6770 
    6871        # Perspective window not allowed to close by default 
     
    103106    def onParamPaste(self): 
    104107        self.currentTab.onParameterPaste() 
     108 
     109    def onExcelCopy(self): 
     110        self.currentTab.onParameterCopy("Excel") 
     111 
     112    def onLatexCopy(self): 
     113        self.currentTab.onParameterCopy("Latex") 
    105114 
    106115    def closeEvent(self, event): 
  • src/sas/qtgui/Utilities/GuiUtils.py

    r6d87082 r20f4857  
    270270    # Fitting parameter copy to clipboard 
    271271    copyFitParamsSignal = QtCore.pyqtSignal(str) 
     272 
     273    # Fitting parameter copy to clipboard for Excel 
     274    copyExcelFitParamsSignal = QtCore.pyqtSignal(str) 
     275 
     276    # Fitting parameter copy to clipboard for Latex 
     277    copyLatexFitParamsSignal = QtCore.pyqtSignal(str) 
    272278 
    273279    # Fitting parameter paste from clipboard 
Note: See TracChangeset for help on using the changeset viewer.