Changeset 657e52c in sasview for calculatorview/src/sans/perspectives/calculator
- Timestamp:
- Dec 14, 2012 2:50:24 PM (12 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 0203ade
- Parents:
- aa01d07b
- Location:
- calculatorview/src/sans/perspectives/calculator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/data_operator.py
r1d490fd r657e52c 645 645 self.position = (0.4, 0.5) 646 646 self.scale = 'linear' 647 self.prevXtrans = "x" 648 self.prevYtrans = "y" 649 self.viewModel = "--" 647 650 self.subplot.set_xticks([]) 648 651 self.subplot.set_yticks([]) … … 865 868 dial.view.Insert("--", 0) 866 869 dial.view.Insert("Linear y vs x", 1) 867 dial.xvalue.SetValue("x") 868 dial.yvalue.SetValue("y") 869 dial.view.SetValue("--") 870 dial.setValues(self.prevXtrans, self.prevYtrans, self.viewModel) 870 871 dial.Update() 871 872 if dial.ShowModal() == wx.ID_OK: … … 918 919 self.graph._yaxis_transformed("%s" % yname, "%s" % yunits) 919 920 item.transformView() 921 self.prevXtrans = self.xLabel 922 self.prevYtrans = self.yLabel 920 923 self.set_xscale(_xscale) 921 924 self.set_yscale(_yscale) -
calculatorview/src/sans/perspectives/calculator/model_editor.py
rea5fa58 r657e52c 628 628 Layout msg 629 629 """ 630 self._msg_box = wx.StaticText(self, -1, self._notes) 630 self._msg_box = wx.StaticText(self, -1, self._notes, 631 size=(PANEL_WIDTH, -1)) 631 632 self.msg_sizer.Add(self._msg_box, 0, wx.LEFT, 10) 632 633 … … 717 718 if len(title) > 20: 718 719 s_title = title[0:19] + '...' 719 self._notes += "Model function name set "720 self._notes += "Model function name is set " 720 721 self._notes += "to %s. \n" % str(s_title) 721 722 return True … … 783 784 pass 784 785 else: 785 msg = "Successful! !!"786 msg = "Successful! " 786 787 msg += " " + self._notes 787 788 msg += " Please look for it in the Customized Models."
Note: See TracChangeset
for help on using the changeset viewer.