format.h File Reference

#include <QColor>
#include <QLocale>
#include <QString>

Functions

int decimalPlaces (QString)
QString formatCost (double, int=-1)
QString formatDate (const QDate &pDate)
QString formatExtPrice (double, int=-1)
QString formatMoney (double, int=-1, int=0)
QString formatNumber (double, int)
QString formatPercent (double)
QString formatPurchPrice (double, int=-1)
QString formatQty (double)
QString formatQtyPer (double)
QString formatSalesPrice (double, int=-1)
QString formatUOMRatio (double)
QString formatWeight (double)
QColor namedColor (QString)

Function Documentation

int decimalPlaces ( QString   ) 
QString formatCost ( double  ,
int  = -1 
)
QString formatDate ( const QDate pDate  )  [inline]
QString formatExtPrice ( double  ,
int  = -1 
)
QString formatMoney ( double  ,
int  = -1,
int  = 0 
)
QString formatNumber ( double  ,
int   
)
QString formatPercent ( double   ) 
QString formatPurchPrice ( double  ,
int  = -1 
)
QString formatQty ( double   ) 
QString formatQtyPer ( double   ) 
QString formatSalesPrice ( double  ,
int  = -1 
)
QString formatUOMRatio ( double   ) 
QString formatWeight ( double   ) 
QColor namedColor ( QString   ) 

Generated on Tue Apr 20 12:02:26 2010 xTuple ERP Programmer Reference, Version 3.5.0 doxygen 1.6.1