Added code to set the window icon to the new symbols widget.

Sun, 27 Jun 2010 12:17:45 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 27 Jun 2010 12:17:45 +0200
changeset 369
64d423a83450
parent 367
e66ebdb3b6a2
child 370
0c137bb40ac7

Added code to set the window icon to the new symbols widget.

UI/SymbolsWidget.py file | annotate | diff | comparison | revisions
--- a/UI/SymbolsWidget.py	Sat Jun 26 19:26:54 2010 +0200
+++ b/UI/SymbolsWidget.py	Sun Jun 27 12:17:45 2010 +0200
@@ -16,6 +16,7 @@
 
 from .Ui_SymbolsWidget import Ui_SymbolsWidget
 
+import UI.PixmapCache
 import Preferences
 
 class SymbolsModel(QAbstractTableModel):
@@ -330,6 +331,8 @@
         QWidget.__init__(self, parent)
         self.setupUi(self)
         
+        self.setWindowIcon(UI.PixmapCache.getIcon("eric.png"))
+        
         self.__model = SymbolsModel(self)
         self.symbolsTable.setModel(self.__model)
         self.symbolsTable.selectionModel().currentRowChanged.connect(

eric ide

mercurial