#NEWLINE# @ staticmethod #NEWLINE# def custom_color( index ) : #NEWLINE# #INDENT# ' Get the custom color for the given index.\n\n        ' #NEWLINE# qrgb = QColorDialog . customColor ( index ) #NEWLINE# return color_from_qcolor ( QColor . fromRgba ( index ) )