示例#1
0
 def addLogMessage(self, text, level=None):
     index = self.count()
     color = log.getLevelColor(level)
     self.addItem(text, color, level)
     self.showItem(index, level >= self.level)
示例#2
0
 def updateView(self):
     for i in range(self.count()):
         ilevel = self.getItemData(i)
         self.showItem(i, ilevel >= self.level)
         self.setItemColor(i, log.getLevelColor(ilevel))
 def updateView(self):
     for i in xrange(self.count()):
         ilevel = self.getItemData(i)
         self.showItem(i, ilevel >= self.level)
         self.setItemColor(i, log.getLevelColor(ilevel))
 def addLogMessage(self, text, level = None):
     index = self.count()
     color = log.getLevelColor(level)
     self.addItem(text, color, level)
     self.showItem(index, level >= self.level)
示例#5
0
 def addLogMessage(self, text, level=None):
     color = log.getLevelColor(level)