Changeset e696e0a in sasview
- Timestamp:
- Jan 10, 2011 1:59:19 PM (14 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:
- 6a0cbcf4
- Parents:
- 691643c
- Location:
- calculatorview/perspectives/calculator
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/perspectives/calculator/kiessig_calculator_panel.py
r6996942 re696e0a 11 11 import wx 12 12 import sys 13 #import os 14 15 #from sans.guicomm.events import StatusEvent 13 14 from sans.guiframe.panel_base import PanelBase 16 15 from sans.calculator.kiessig_calculator import KiessigThicknessCalculator 17 16 from calculator_widgets import OutputTextCtrl … … 29 28 FONT_VARIANT = 1 30 29 31 class KiessigThicknessCalculatorPanel(wx.Panel ):30 class KiessigThicknessCalculatorPanel(wx.Panel, PanleBase): 32 31 """ 33 32 Provides the Kiessig thickness calculator GUI. … … 42 41 def __init__(self, parent, *args, **kwds): 43 42 wx.Panel.__init__(self, parent, *args, **kwds) 43 PanelBase.__init__(self) 44 44 #Font size 45 45 self.SetWindowVariant(variant=FONT_VARIANT) -
calculatorview/perspectives/calculator/sld_panel.py
r1e96a66 re696e0a 7 7 import math 8 8 import sys 9 10 from sans.guiframe.panel_base import PanelBase 9 11 10 12 from sans.guiframe.utils import format_number … … 17 19 from periodictable.xsf import xray_energy 18 20 from periodictable.xsf import xray_sld_from_atoms 19 #rom periodictable.constants import avogadro_number20 21 from periodictable.nsf import neutron_scattering 21 22 … … 35 36 FONT_VARIANT = 1 36 37 37 class SldPanel(wx.Panel ):38 class SldPanel(wx.Panel, PanelBase): 38 39 """ 39 40 Provides the SLD calculator GUI. … … 50 51 """ 51 52 wx.Panel.__init__(self, parent, *args, **kwds) 53 PanelBase.__init__(self) 52 54 #Font size 53 55 self.SetWindowVariant(variant=FONT_VARIANT) -
calculatorview/perspectives/calculator/slit_length_calculator_panel.py
r6996942 re696e0a 13 13 import os 14 14 15 #from DataLoader.readers.ascii_reader import Reader 15 from sans.guiframe.panel_base import PanelBase 16 16 17 from sans.guicomm.events import StatusEvent 17 18 from sans.calculator.slit_length_calculator import SlitlengthCalculator … … 30 31 FONT_VARIANT = 1 31 32 32 class SlitLengthCalculatorPanel(wx.Panel ):33 class SlitLengthCalculatorPanel(wx.Panel, PanelBase): 33 34 """ 34 35 Provides the slit length calculator GUI. … … 43 44 def __init__(self, parent, *args, **kwds): 44 45 wx.Panel.__init__(self, parent, *args, **kwds) 46 PanelBase.__init__(self) 45 47 #Font size 46 48 self.SetWindowVariant(variant=FONT_VARIANT)
Note: See TracChangeset
for help on using the changeset viewer.