Functions
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 Fri Oct 7 2016 14:23:26 xTuple ERP Programmer Reference, Version 4.2.0 doxygen 1.8.10