diff -r 9552b5e16a07 -r 8a7d1b9d18db E5Gui/E5ToolBarDialog.py --- a/E5Gui/E5ToolBarDialog.py Sat Jun 04 11:53:15 2011 +0200 +++ b/E5Gui/E5ToolBarDialog.py Sun Jun 05 18:25:36 2011 +0200 @@ -7,8 +7,9 @@ Module implementing a toolbar configuration dialog. """ -from PyQt4.QtGui import * -from PyQt4.QtCore import * +from PyQt4.QtCore import pyqtSlot, Qt +from PyQt4.QtGui import QDialog, QDialogButtonBox, QTreeWidgetItem, QColor, \ + QInputDialog, QLineEdit, QListWidgetItem, QAbstractButton from E5Gui import E5MessageBox @@ -58,8 +59,10 @@ self.__currentToolBarItem = None self.__removedToolBarIDs = [] # remember custom toolbars to be deleted - self.__widgetActionToToolBarItemID = {} # maps widget action IDs to toolbar item IDs - self.__toolBarItemToWidgetActionID = {} # maps toolbar item IDs to widget action IDs + self.__widgetActionToToolBarItemID = {} + # maps widget action IDs to toolbar item IDs + self.__toolBarItemToWidgetActionID = {} + # maps toolbar item IDs to widget action IDs self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png")) self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow.png"))