Example #1
0
 def __createDecoration(self, tc):
     """ Creates the text occurences decoration """
     deco = TextDecoration(tc)
     deco.setBackground(QBrush(QColor(self.currentStyle.searchBackgroundColor)))
     deco.setForeground(QBrush(QColor(self.currentStyle.searchColor)))
     return deco