Changeset d4881f6a in sasview for src/sas/qtgui/Calculators
- Timestamp:
- Nov 15, 2017 6:52:27 AM (7 years ago)
- Branches:
- 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
- Children:
- c7ebb37
- Parents:
- fa81e94
- Location:
- src/sas/qtgui/Calculators
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/DensityPanel.py
rfbfc488 rd4881f6a 15 15 from sas.qtgui.Calculators.UI.DensityPanel import Ui_DensityPanel 16 16 17 def enum(*sequential, **named): 18 enums = dict(list(zip(sequential, list(range(len(sequential))))), **named) 19 return type('Enum', (), enums) 17 from sas.qtgui.Utilities.GuiUtils import enum 20 18 21 19 MODEL = enum( -
src/sas/qtgui/Calculators/SldPanel.py
rfbfc488 rd4881f6a 16 16 from sas.qtgui.Calculators.UI.SldPanel import Ui_SldPanel 17 17 18 def enum(*sequential, **named): 19 enums = dict(list(zip(sequential, list(range(len(sequential))))), **named) 20 return type('Enum', (), enums) 18 from sas.qtgui.Utilities.GuiUtils import enum 21 19 22 20 MODEL = enum(
Note: See TracChangeset
for help on using the changeset viewer.