(self, v: float)
Reimplemented.
Reimplemented.
Reimplemented .
def textFromValue(self, v: float) -> str:
        """Reimplemented."""
        if self.__decimals < 0:
            locale = self.locale()
            return locale.toString(v, 'f', QLocale.FloatingPointShortest)
        else:
            return super().textFromValue(v)
def textFromValue ( self , v : float ) -> str : if self . __decimals < 0 : locale = self . locale ( ) return locale . toString ( v , 'f' , QLocale . FloatingPointShortest ) else : return super ( ) . textFromValue ( v )