#NEWLINE# def __paintEvent( self , event ) : #NEWLINE# #INDENT# painter = QtGui . QPainter ( self . _qtWidget ( ) ) #NEWLINE# painter . setRenderHint ( QtGui . QPainter . Antialiasing ) #NEWLINE# painter . setBrush ( QtGui . QColor ( 76 , 76 , 76 ) ) #NEWLINE# painter . setPen ( QtGui . QColor ( 0 , 0 , 0 , 0 ) ) #NEWLINE# radius = self . _qtWidget ( ) . layout ( ) . contentsMargins ( ) . left ( ) #NEWLINE# size = self . size ( ) #NEWLINE# painter . drawRoundedRect ( QtCore . QRectF ( 0 , 0 , size . x , size . y ) , radius , radius ) #NEWLINE# if self . getResizeable ( ) : #NEWLINE# #INDENT# painter . drawRect ( ( event . x - radius ) , ( size . y - radius ) , radius , radius )