src/eric7/EricWidgets/EricToolBarDialog.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
equal deleted inserted replaced
9412:45e7bb09c120 9413:80c06d472826
17 QLineEdit, 17 QLineEdit,
18 QListWidgetItem, 18 QListWidgetItem,
19 QAbstractButton, 19 QAbstractButton,
20 ) 20 )
21 21
22 from EricWidgets import EricMessageBox 22 from eric7.EricWidgets import EricMessageBox
23 23
24 from .Ui_EricToolBarDialog import Ui_EricToolBarDialog 24 from .Ui_EricToolBarDialog import Ui_EricToolBarDialog
25 25
26 import UI.PixmapCache 26 from eric7.EricGui import EricPixmapCache
27 27
28 28
29 class EricToolBarItem: 29 class EricToolBarItem:
30 """ 30 """
31 Class storing data belonging to a toolbar entry of the toolbar dialog. 31 Class storing data belonging to a toolbar entry of the toolbar dialog.
76 self.__widgetActionToToolBarItemID = {} 76 self.__widgetActionToToolBarItemID = {}
77 # maps widget action IDs to toolbar item IDs 77 # maps widget action IDs to toolbar item IDs
78 self.__toolBarItemToWidgetActionID = {} 78 self.__toolBarItemToWidgetActionID = {}
79 # maps toolbar item IDs to widget action IDs 79 # maps toolbar item IDs to widget action IDs
80 80
81 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow")) 81 self.upButton.setIcon(EricPixmapCache.getIcon("1uparrow"))
82 self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow")) 82 self.downButton.setIcon(EricPixmapCache.getIcon("1downarrow"))
83 self.leftButton.setIcon(UI.PixmapCache.getIcon("1leftarrow")) 83 self.leftButton.setIcon(EricPixmapCache.getIcon("1leftarrow"))
84 self.rightButton.setIcon(UI.PixmapCache.getIcon("1rightarrow")) 84 self.rightButton.setIcon(EricPixmapCache.getIcon("1rightarrow"))
85 85
86 self.__restoreDefaultsButton = self.buttonBox.button( 86 self.__restoreDefaultsButton = self.buttonBox.button(
87 QDialogButtonBox.StandardButton.RestoreDefaults 87 QDialogButtonBox.StandardButton.RestoreDefaults
88 ) 88 )
89 self.__resetButton = self.buttonBox.button( 89 self.__resetButton = self.buttonBox.button(

eric ide

mercurial