Changeset ae84427 in sasview for invariantview/src/sans/perspectives
- Timestamp:
- Apr 20, 2013 7:14:41 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:
- ba152f1
- Parents:
- d4895dd
- Location:
- invariantview/src/sans/perspectives/invariant
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/src/sans/perspectives/invariant/invariant.py
r6813da7d rae84427 17 17 import copy 18 18 import logging 19 19 from sans.guiframe.gui_manager import MDIFrame 20 20 from sans.guiframe.dataFitting import Data1D 21 21 from sans.guiframe.events import NewPlotEvent … … 83 83 ## Save a reference to the parent 84 84 self.parent = parent 85 self.invariant_panel = InvariantPanel(parent=self.parent) 85 self.frame = MDIFrame(self.parent, None, 'None', (100, 200)) 86 self.invariant_panel = InvariantPanel(parent=self.frame) 87 self.frame.set_panel(self.invariant_panel) 88 self._frame_set_helper() 86 89 self.invariant_panel.set_manager(manager=self) 87 90 self.perspective.append(self.invariant_panel.window_name) -
invariantview/src/sans/perspectives/invariant/invariant_panel.py
rf686259 rae84427 71 71 self.SetWindowVariant(variant=FONT_VARIANT) 72 72 #Object that receive status event 73 self.parent = parent 73 self.parent = parent.parent 74 74 #plug-in using this panel 75 75 self._manager = manager … … 646 646 type="stop")) 647 647 return 648 self.Show(False)648 #self.Show(False) 649 649 r_msg = '' 650 650 try: … … 712 712 wx.PostEvent(self.parent, 713 713 StatusEvent(status='\nFinished invariant computation...')) 714 self.Show(True)714 #self.Show(True) 715 715 self.Refresh() 716 716
Note: See TracChangeset
for help on using the changeset viewer.