taurus taurus

Previous topic

CodecPipeline

Next topic

ConfigEventGenerator

This Page

ColorPalette

Inheritance diagram of ColorPalette

class ColorPalette(dat, int_decoder_dict)

Bases: object

Provides the list of tango colors, used at ALBA / taurus toolkit.

format_SimStates(var='T1')
has(name)
hex(stoq, fmt='%06x', fg=False)

Returns the rgb colors as string of lowercase hexadecimal characters

htmlStyle(htmlTag, stoq)
name(stoq, fg=False)

Returns the name of the color.

number(stoq, fg=False)

Returns the colors as a number, suitable for conversion to hexadecimal as argument to QtGui.QColor.

qtStyleSheet(stoq)
rgb(stoq, fg=False)

Returns a triplet of rgb colors in the range of 0 .. 255.

rgb_pair(stoq)

Returns pair of foreground and background colors.

size()