#NEWLINE# def _get_color( self , color ) : #NEWLINE# #INDENT# qcolor = QtGui . QColor ( ) #NEWLINE# qcolor . setRgb ( int ( color [ : 2 ] , base = 16 ) , int ( color [ 2 : 4 ] , base = 16 ) , int ( color [ 4 : 6 ] , base = 16 ) ) #NEWLINE# return qcolor