51 QHeaderView.ResizeToContents) |
51 QHeaderView.ResizeToContents) |
52 self.tree.topLevelItem(0).setExpanded(True) |
52 self.tree.topLevelItem(0).setExpanded(True) |
53 |
53 |
54 # icon list widget |
54 # icon list widget |
55 for iconName, labelText in ( |
55 for iconName, labelText in ( |
56 ("filePython.png", self.tr("Python")), |
56 ("filePython", self.tr("Python")), |
57 ("fileRuby.png", self.tr("Ruby")), |
57 ("fileRuby", self.tr("Ruby")), |
58 ("fileJavascript.png", self.tr("JavaScript")), |
58 ("fileJavascript", self.tr("JavaScript")), |
59 ): |
59 ): |
60 self.iconsListWidget.addItem(QListWidgetItem( |
60 self.iconsListWidget.addItem(QListWidgetItem( |
61 UI.PixmapCache.getIcon(iconName), labelText)) |
61 UI.PixmapCache.getIcon(iconName), labelText)) |
62 |
62 |
63 def processEditor(self, editor=None): |
63 def processEditor(self, editor=None): |