equal
deleted
inserted
replaced
33 # Helpers |
33 # Helpers |
34 #------------------------------------------------------------------------------- |
34 #------------------------------------------------------------------------------- |
35 |
35 |
36 # Dictionaries containing correspondence between variable block class and string |
36 # Dictionaries containing correspondence between variable block class and string |
37 # to be shown in Class combo box in both sense |
37 # to be shown in Class combo box in both sense |
38 VARIABLE_CLASSES_DICT = {INPUT : _("Input"), |
38 VARIABLE_CLASSES_DICT = { |
39 INOUT : _("InOut"), |
39 INPUT: _("Input"), |
40 OUTPUT : _("Output")} |
40 INOUT: _("InOut"), |
|
41 OUTPUT: _("Output") |
|
42 } |
|
43 |
41 VARIABLE_CLASSES_DICT_REVERSE = dict( |
44 VARIABLE_CLASSES_DICT_REVERSE = dict( |
42 [(value, key) for key, value in VARIABLE_CLASSES_DICT.iteritems()]) |
45 [(value, key) for key, value in VARIABLE_CLASSES_DICT.iteritems()]) |
43 |
46 |
44 #------------------------------------------------------------------------------- |
47 #------------------------------------------------------------------------------- |
45 # Set Variable Parameters Dialog |
48 # Set Variable Parameters Dialog |