34 |
34 |
35 self.__mainWindow = None |
35 self.__mainWindow = None |
36 self.__ui = ui |
36 self.__ui = ui |
37 |
37 |
38 self.__toolBars = {} |
38 self.__toolBars = {} |
39 # maps toolbar IDs to actions |
39 # maps toolbar IDs to actions |
40 self.__toolBarsWithSeparators = {} |
40 self.__toolBarsWithSeparators = {} |
41 # maps toolbar IDs to actions incl. separators |
41 # maps toolbar IDs to actions incl. separators |
42 self.__defaultToolBars = {} |
42 self.__defaultToolBars = {} |
43 # maps default toolbar IDs to actions |
43 # maps default toolbar IDs to actions |
44 self.__customToolBars = [] |
44 self.__customToolBars = [] |
45 # list of custom toolbars |
45 # list of custom toolbars |
46 self.__allToolBars = {} |
46 self.__allToolBars = {} |
47 # maps toolbar IDs to toolbars |
47 # maps toolbar IDs to toolbars |
48 |
48 |
49 self.__categoryToActions = {} |
49 self.__categoryToActions = {} |
50 # maps categories to actions |
50 # maps categories to actions |
51 self.__actionToCategory = {} |
51 self.__actionToCategory = {} |
52 # maps action IDs to categories |
52 # maps action IDs to categories |
53 self.__allActions = {} |
53 self.__allActions = {} |
54 # maps action IDs to actions |
54 # maps action IDs to actions |
55 self.__actionToToolBars = {} |
55 self.__actionToToolBars = {} |
56 # maps action IDs to toolbars |
56 # maps action IDs to toolbars |
57 |
57 |
58 self.__widgetActions = {} |
58 self.__widgetActions = {} |
59 # maps widget action IDs to toolbars |
59 # maps widget action IDs to toolbars |
60 self.__allWidgetActions = {} |
60 self.__allWidgetActions = {} |
61 # maps widget action IDs to widget actions |
61 # maps widget action IDs to widget actions |
62 |
62 |
63 ###################################################### |
63 ###################################################### |
64 ## Private methods |
64 ## Private methods |
65 ###################################################### |
65 ###################################################### |
66 |
66 |