code: def paintNormal( self, painter ):
          
          # generate the rect
          rect    = self.rect()
          
          x       = 0
          y       = self.padding()
          w       = rect.width()
          h       = rect.height() - (2 * self.padding()) - 1
          radius  = self.borderRadius()
          
          # grab the color options
          color       = self.color()
          alt_color   = self.alternateColor()
          
          if ( self.isSelected() ):
              color       = self.highlightColor()
              alt_color   = self.alternateHighlightColor()
          
          # create the background brush
          gradient = QLinearGradient()
          gradient.setStart(0, 0)
          gradient.setFinalStop(0, h)
          
          gradient.setColorAt(0,   color)
          gradient.setColorAt(0.8, alt_color)
          gradient.setColorAt(1,   color)
          painter.setPen(self.borderColor())
          
          if ( radius ):
              painter.setRenderHint(painter.Antialiasing)
              pen = painter.pen()
              pen.setWidthF(0.5)
              painter.setPen(pen)
          
          painter.setBrush(QBrush(gradient))
          painter.drawRoundedRect(x, y, w, h, radius, radius)
          
          # create the progress brush
          if ( self.showProgress() ):
              gradient = QLinearGradient()
              gradient.setStart(0, 0)
              gradient.setFinalStop(0, h)
              gradient.setColorAt(0, self.progressColor())
              gradient.setColorAt(0.8, self.alternateProgressColor())
              gradient.setColorAt(1, self.progressColor())
              
              prog_w = (w - 4) * (self._percentComplete/100.0)
              radius -= 2
              
              painter.setPen(Qt.NoPen)
              painter.setBrush(QBrush(gradient))
              painter.drawRoundedRect(x + 2, y + 2, prog_w, h - 4, radius, radius)
          
          # draw the text on this item
          if ( self.text() ):
              painter.setPen(self.textColor())
              painter.drawText(x, y, w, h, Qt.AlignCenter, self.text())
docs: Paints this item as the normal look.
          
          :param      painter | <QPainter>