code: def pickColor( self ):
          
          color = QColorDialog.getColor( self.color(), self )
          
          if ( color.isValid() ):
              self.setColor(color)
docs: Prompts the user to select a color for this button.