source: sasview/src/sas/qtgui/Perspectives/PrInversion/PrInversionUtils.py @ dab3351

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since dab3351 was dab3351, checked in by krzywon, 6 years ago

P(r) calculation threads running in Qt GUI.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1def enum(*sequential, **named):
2    enums = dict(zip(sequential, range(len(sequential))), **named)
3    return type('Enum', (), enums)
4
5WIDGETS = enum( 'W_FILENAME',               #0
6                'W_BACKGROUND_INPUT',             #1
7                'W_ESTIMATE',               #2
8                'W_MANUAL_INPUT',           #3
9                'W_QMIN',                   #4
10                'W_QMAX',                   #5
11                'W_SLIT_HEIGHT',            #6
12                'W_SLIT_WIDTH',             #7
13                'W_NO_TERMS',               #8
14                'W_NO_TERMS_SUGGEST',       #9
15                'W_REGULARIZATION',         #10
16                'W_REGULARIZATION_SUGGEST', #11
17                'W_MAX_DIST',               #12
18                'W_EXPLORE',                #13
19                # results
20                'W_RG',
21                'W_I_ZERO',
22                'W_BACKGROUND_OUTPUT',
23                'W_COMP_TIME',
24                'W_CHI_SQUARED',
25                'W_OSCILLATION',
26                'W_POS_FRACTION',
27                'W_SIGMA_POS_FRACTION',
28                # bottom buttons
29                'W_CALCULATE',
30                'W_HELP'
31)
Note: See TracBrowser for help on using the repository browser.