A RowColorScheme instance encapsulates all the color information
needed to draw a row, as well as (optionally) the meaning of the colors.
This includes foreground and background brushes as well as the handling
of selection.
|
__init__(self,
color_cells=None,
key_func=None,
scheme_name='
' )
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
|
list
|
keys(self)
Returns:
A list of values for which we have brushes in the scheme |
|
|
QtGui.QBrush
|
|
|
getBackgroundBrushByKey(self,
key,
default=None)
Returns the Brush for a specific key value |
|
|
QtGui.QBrush
|
|
|
|
QtGui.QColor
|
getTextColor(self,
res)
Returns the text color for the residue |
|
|
str
|
getToolTip(self,
res)
Returns:
The tooltip matching the residue |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|