Changeset 62af27a9 in sasview
- Timestamp:
- Apr 26, 2013 2:49:19 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:
- 0d5768d
- Parents:
- 7c38c90
- Location:
- calculatorview/src/sans/perspectives/calculator
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/data_operator.py
rd0923a3 r62af27a9 956 956 957 957 if __name__ == "__main__": 958 958 959 959 app = wx.App() 960 widget.CHILD_FRAME = wx.Frame 960 961 window = DataOperatorWindow(parent=None, data=[], title="Data Editor") 961 962 app.MainLoop() -
calculatorview/src/sans/perspectives/calculator/density_panel.py
rd0923a3 r62af27a9 406 406 """ 407 407 """ 408 widget.CHILD_FRAME = wx.Frame 408 409 frame = DensityWindow(None, title="Density/Volume Calculator") 409 410 frame.Show(True) -
calculatorview/src/sans/perspectives/calculator/gen_scatter_panel.py
rd0923a3 r62af27a9 35 35 from sans.perspectives.calculator.load_thread import GenReader 36 36 from danse.common.plottools.arrow3d import Arrow3D 37 from sans.perspectives.calculator import calculator_widgets as widget 37 from sans.perspectives.calculator import calculator_widgets as widget 38 from sans.guiframe.events import NewPlotEvent 38 39 39 40 _BOX_WIDTH = 76 … … 2011 2012 """ 2012 2013 """ 2013 from sans.guiframe.events import NewPlotEvent 2014 wx.PostEvent(self.parent, NewPlotEvent(plot=plot, title=title)) 2015 """ 2016 frame = PlotFrame(self, -1, 'testView', self.scale2d) 2017 add_icon(self.parent, frame) 2018 frame.add_plot(plot) 2019 frame.SetTitle(title) 2020 frame.Show(True) 2021 frame.SetFocus() 2022 """ 2014 try: 2015 wx.PostEvent(self.parent, NewPlotEvent(plot=plot, title=title)) 2016 except: 2017 # standalone 2018 frame = PlotFrame(self, -1, 'testView', self.scale2d) 2019 #add_icon(self.parent, frame) 2020 frame.add_plot(plot) 2021 frame.SetTitle(title) 2022 frame.Show(True) 2023 frame.SetFocus() 2024 2023 2025 def set_schedule_full_draw(self, panel=None, func='del'): 2024 2026 """ 2025 2027 Send full draw to gui frame 2026 2028 """ 2027 self.parent.set_schedule_full_draw(panel, func) 2029 if self.parent != None: 2030 self.parent.set_schedule_full_draw(panel, func) 2028 2031 2029 2032 def get_npix(self): … … 2132 2135 if __name__ == "__main__": 2133 2136 app = wx.PySimpleApp() 2137 widget.CHILD_FRAME = wx.Frame 2134 2138 SGframe = SasGenWindow() 2135 2139 SGframe.Show(True) -
calculatorview/src/sans/perspectives/calculator/kiessig_calculator_panel.py
rd0923a3 r62af27a9 216 216 if __name__ == "__main__": 217 217 app = wx.PySimpleApp() 218 widget.CHILD_FRAME = wx.Frame 218 219 frame = KiessigWindow() 219 220 frame.Show(True) -
calculatorview/src/sans/perspectives/calculator/resolution_calculator_panel.py
rd0923a3 r62af27a9 1428 1428 if __name__ == "__main__": 1429 1429 app = wx.PySimpleApp() 1430 widget.CHILD_FRAME = wx.Frame 1430 1431 frame = ResolutionWindow() 1431 1432 frame.Show(True) -
calculatorview/src/sans/perspectives/calculator/sld_panel.py
rd0923a3 r62af27a9 474 474 """ 475 475 """ 476 widget.CHILD_FRAME = wx.Frame 476 477 frame = SldWindow(None, title='SLD Calculator') 477 478 frame.Show(True) -
calculatorview/src/sans/perspectives/calculator/slit_length_calculator_panel.py
rd0923a3 r62af27a9 279 279 if __name__ == "__main__": 280 280 app = wx.PySimpleApp() 281 widget.CHILD_FRAME = wx.Frame 281 282 frame = SlitLengthCalculatorWindow() 282 283 frame.Show(True)
Note: See TracChangeset
for help on using the changeset viewer.