(self, rowIndex, columnIndex, color, key='bg')
return
Set color
Set color
Set color
def setColorAt(self, rowIndex, columnIndex, color, key='bg'):
        """Set color"""
        name = self.getRecName(rowIndex)
        colname = self.getColumnName(columnIndex)
        if not name in self.colors[key]:
            self.colors[key][name] = {}
        self.colors[key][name][colname] = str(color)
        return
def setColorAt ( self , rowIndex , columnIndex , color , key = 'bg' ) : name = self . getRecName ( rowIndex ) colname = self . getColumnName ( columnIndex ) if not name in self . colors [ key ] : self . colors [ key ] [ name ] = { } self . colors [ key ] [ name ] [ colname ] = str ( color ) return