UI/LogView.py

changeset 458
1695e7a2db54
parent 97
c4086afea02b
child 791
9ec2ac20e54e
equal deleted inserted replaced
457:608a9c14f4c9 458:1695e7a2db54
40 self.__menu.addAction(self.trUtf8('Select All'), self.selectAll) 40 self.__menu.addAction(self.trUtf8('Select All'), self.selectAll)
41 self.__menu.addSeparator() 41 self.__menu.addSeparator()
42 self.__menu.addAction(self.trUtf8("Configure..."), self.__configure) 42 self.__menu.addAction(self.trUtf8("Configure..."), self.__configure)
43 43
44 self.setContextMenuPolicy(Qt.CustomContextMenu) 44 self.setContextMenuPolicy(Qt.CustomContextMenu)
45 self.connect(self, SIGNAL("customContextMenuRequested(const QPoint &)"), 45 self.customContextMenuRequested.connect(self.__handleShowContextMenu)
46 self.__handleShowContextMenu)
47 46
48 self.cNormalFormat = self.currentCharFormat() 47 self.cNormalFormat = self.currentCharFormat()
49 self.cErrorFormat = self.currentCharFormat() 48 self.cErrorFormat = self.currentCharFormat()
50 self.cErrorFormat.setForeground(QBrush(Preferences.getUI("LogStdErrColour"))) 49 self.cErrorFormat.setForeground(QBrush(Preferences.getUI("LogStdErrColour")))
51 50

eric ide

mercurial