E5Gui/E5ToolBarDialog.py

changeset 3621
15f23ed3f216
parent 3539
0c2dc1446ebf
child 3656
441956d8fce5
equal deleted inserted replaced
3620:2c8d96d47cda 3621:15f23ed3f216
58 super(E5ToolBarDialog, self).__init__(parent) 58 super(E5ToolBarDialog, self).__init__(parent)
59 self.setupUi(self) 59 self.setupUi(self)
60 60
61 self.__manager = toolBarManager 61 self.__manager = toolBarManager
62 self.__toolbarItems = {} 62 self.__toolbarItems = {}
63 # maps toolbar item IDs to toolbar items 63 # maps toolbar item IDs to toolbar items
64 self.__currentToolBarItem = None 64 self.__currentToolBarItem = None
65 self.__removedToolBarIDs = [] 65 self.__removedToolBarIDs = []
66 # remember custom toolbars to be deleted 66 # remember custom toolbars to be deleted
67 67
68 self.__widgetActionToToolBarItemID = {} 68 self.__widgetActionToToolBarItemID = {}
69 # maps widget action IDs to toolbar item IDs 69 # maps widget action IDs to toolbar item IDs
70 self.__toolBarItemToWidgetActionID = {} 70 self.__toolBarItemToWidgetActionID = {}
71 # maps toolbar item IDs to widget action IDs 71 # maps toolbar item IDs to widget action IDs
72 72
73 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png")) 73 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png"))
74 self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow.png")) 74 self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow.png"))
75 self.leftButton.setIcon(UI.PixmapCache.getIcon("1leftarrow.png")) 75 self.leftButton.setIcon(UI.PixmapCache.getIcon("1leftarrow.png"))
76 self.rightButton.setIcon(UI.PixmapCache.getIcon("1rightarrow.png")) 76 self.rightButton.setIcon(UI.PixmapCache.getIcon("1rightarrow.png"))

eric ide

mercurial