Changeset 2719255 in sasview for sansguiframe/src
- Timestamp:
- Sep 14, 2011 5:13:20 PM (13 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:
- 0b0b7de
- Parents:
- 55d2f7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_panel.py
r6a7cf2c r2719255 279 279 self.bt_freeze = wx.Button(self, wx.NewId(), "Freeze Theory", 280 280 size=(BUTTON_WIDTH, -1)) 281 self.bt_freeze.SetToolTipString("To trigger freeze a theory") 281 freeze_tip = "To trigger freeze a theory: making a copy to Data box,\n" 282 freeze_tip += " so that it can act like a real data set." 283 self.bt_freeze.SetToolTipString(freeze_tip) 282 284 wx.EVT_BUTTON(self, self.bt_freeze.GetId(), self.on_freeze) 283 285 #hide plot … … 736 738 def on_freeze(self, event): 737 739 """ 740 On freeze to make a theory to a data set 738 741 """ 739 742 _, theory_id, state_id = self.set_data_helper() 740 self.parent.freeze(data_id=state_id, theory_id=theory_id) 741 743 if len(theory_id) > 0: 744 self.parent.freeze(data_id=state_id, theory_id=theory_id) 745 msg = "Freeze Theory:" 746 msg += " The theory(s) copied to the Data box as a data set." 747 else: 748 msg = "Freeze Theory: Requires at least one theory checked." 749 wx.PostEvent(self.parent, StatusEvent(status=msg)) 750 742 751 def set_active_perspective(self, name): 743 752 """
Note: See TracChangeset
for help on using the changeset viewer.