Changeset d4881f6a in sasview for src/sas/qtgui/Perspectives/Invariant/InvariantUtils.py
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Invariant/InvariantUtils.py
rf1f3e6a rd4881f6a 1 def enum(*sequential, **named): 2 enums = dict(list(zip(sequential, list(range(len(sequential))))), **named) 3 return type('Enum', (), enums) 1 from sas.qtgui.Utilities.GuiUtils import enum 4 2 5 3 WIDGETS = enum( 'W_FILENAME',
Note: See TracChangeset
for help on using the changeset viewer.