parameters: (self, nSatoshi, ndec=None, maxZeros=None, wColor=None, 
                                               wBold=None, txtSize=10)
docstring: When we set the text of the QMoneyLabel, remember previous values unless
        explicitly respecified
docstring_summary: When we set the text of the QMoneyLabel, remember previous values unless
        explicitly respecified
docstring_tokens: When we set the text of the QMoneyLabel remember previous values unless explicitly respecified
function: def setValueText(self, nSatoshi, ndec=None, maxZeros=None, wColor=None, 
                                               wBold=None, txtSize=10):
        """
        When we set the text of the QMoneyLabel, remember previous values unless
        explicitly respecified
        """
        if not ndec is None:
           self.ndec = ndec
  
        if not maxZeros is None:
           self.max0 = maxZeros
  
        if not wColor is None:
           self.colr = wColor
  
        if not wBold is None:
           self.bold = wBold
           
  
        theFont = GETFONT("Fixed", txtSize)
        if self.bold:
           theFont.setWeight(QFont.Bold)
  
        self.setFont(theFont)
        self.setWordWrap(False)
        valStr = coin2str(nSatoshi, ndec=self.ndec, maxZeros=self.max0)
        goodMoney = htmlColor('MoneyPos')
        badMoney  = htmlColor('MoneyNeg')
        if nSatoshi < 0 and self.colr:
           self.setText('<font color=%s>%s</font>' % (badMoney, valStr))
        elif nSatoshi > 0 and self.colr:
           self.setText('<font color=%s>%s</font>' % (goodMoney, valStr))
        else:
           self.setText('%s' % valStr)
        self.setAlignment(Qt.AlignLeft | Qt.AlignVCenter)
function_tokens: def setValueText ( self , nSatoshi , ndec = None , maxZeros = None , wColor = None , wBold = None , txtSize = 10 ) : if not ndec is None : self . ndec = ndec if not maxZeros is None : self . max0 = maxZeros if not wColor is None : self . colr = wColor if not wBold is None : self . bold = wBold theFont = GETFONT ( "Fixed" , txtSize ) if self . bold : theFont . setWeight ( QFont . Bold ) self . setFont ( theFont ) self . setWordWrap ( False ) valStr = coin2str ( nSatoshi , ndec = self . ndec , maxZeros = self . max0 ) goodMoney = htmlColor ( 'MoneyPos' ) badMoney = htmlColor ( 'MoneyNeg' ) if nSatoshi < 0 and self . colr : self . setText ( '<font color=%s>%s</font>' % ( badMoney , valStr ) ) elif nSatoshi > 0 and self . colr : self . setText ( '<font color=%s>%s</font>' % ( goodMoney , valStr ) ) else : self . setText ( '%s' % valStr ) self . setAlignment ( Qt . AlignLeft | Qt . AlignVCenter )