orReportProto Class Reference

#include <orreportproto.h>

List of all members.

Public Member Functions

 orReportProto (QObject *parent)
Q_INVOKABLE int backgroundAlignment ()
Q_INVOKABLE QImage backgroundImage ()
Q_INVOKABLE unsigned char backgroundOpacity ()
Q_INVOKABLE QRect backgroundRect ()
Q_INVOKABLE bool backgroundScale ()
Q_INVOKABLE Qt::AspectRatioMode backgroundScaleMode ()
Q_INVOKABLE bool doesReportExist ()
Q_INVOKABLE bool doParamsSatisfy ()
Q_INVOKABLE bool exportToPDF (const QString &fileName)
Q_INVOKABLE ParameterList getParamList ()
Q_INVOKABLE bool isValid ()
Q_INVOKABLE bool print (QPrinter *prtThis=0, bool boolSetupPrinter=TRUE, bool showPreview=false)
Q_INVOKABLE bool render (QPainter *painter, QPrinter *printer=0)
Q_INVOKABLE int reportError (QWidget *widget)
Q_INVOKABLE bool satisfyParams (QWidget *widget)
Q_INVOKABLE void setBackgroundAlignment (int alignment)
Q_INVOKABLE void setBackgroundImage (const QImage &image)
Q_INVOKABLE void setBackgroundOpacity (unsigned char opacity)
Q_INVOKABLE void setBackgroundRect (int x, int y, int w, int h)
Q_INVOKABLE void setBackgroundRect (const QRect &rect)
Q_INVOKABLE void setBackgroundScale (bool scale)
Q_INVOKABLE void setBackgroundScaleMode (Qt::AspectRatioMode mode)
Q_INVOKABLE void setDatabase (QSqlDatabase db)
Q_INVOKABLE bool setDom (const QDomDocument &docPReport)
Q_INVOKABLE void setParamList (const QStringList &list)
Q_INVOKABLE void setParamList (const ParameterList &params)
Q_INVOKABLE void setWatermarkFont (const QFont &font)
Q_INVOKABLE void setWatermarkOpacity (unsigned char opacity)
Q_INVOKABLE void setWatermarkText (const QString &text)
Q_INVOKABLE QFont watermarkFont ()
Q_INVOKABLE unsigned char watermarkOpacity ()
Q_INVOKABLE QString watermarkText ()

Constructor & Destructor Documentation

orReportProto::orReportProto ( QObject parent  ) 

Member Function Documentation

int orReportProto::backgroundAlignment (  ) 
QImage orReportProto::backgroundImage (  ) 
unsigned char orReportProto::backgroundOpacity (  ) 
QRect orReportProto::backgroundRect (  ) 
bool orReportProto::backgroundScale (  ) 
Qt::AspectRatioMode orReportProto::backgroundScaleMode (  ) 
bool orReportProto::doesReportExist (  ) 
bool orReportProto::doParamsSatisfy (  ) 
bool orReportProto::exportToPDF ( const QString fileName  ) 
ParameterList orReportProto::getParamList (  ) 
bool orReportProto::isValid (  ) 
bool orReportProto::print ( QPrinter prtThis = 0,
bool  boolSetupPrinter = TRUE,
bool  showPreview = false 
)
bool orReportProto::render ( QPainter painter,
QPrinter printer = 0 
)
int orReportProto::reportError ( QWidget widget  ) 
bool orReportProto::satisfyParams ( QWidget widget  ) 
void orReportProto::setBackgroundAlignment ( int  alignment  ) 
void orReportProto::setBackgroundImage ( const QImage image  ) 
void orReportProto::setBackgroundOpacity ( unsigned char  opacity  ) 
void orReportProto::setBackgroundRect ( int  x,
int  y,
int  w,
int  h 
)
void orReportProto::setBackgroundRect ( const QRect rect  ) 
void orReportProto::setBackgroundScale ( bool  scale  ) 
void orReportProto::setBackgroundScaleMode ( Qt::AspectRatioMode  mode  ) 
void orReportProto::setDatabase ( QSqlDatabase  db  ) 
bool orReportProto::setDom ( const QDomDocument docPReport  ) 
void orReportProto::setParamList ( const QStringList list  ) 
void orReportProto::setParamList ( const ParameterList &  params  ) 
void orReportProto::setWatermarkFont ( const QFont font  ) 
void orReportProto::setWatermarkOpacity ( unsigned char  opacity  ) 
void orReportProto::setWatermarkText ( const QString text  ) 
QFont orReportProto::watermarkFont (  ) 
unsigned char orReportProto::watermarkOpacity (  ) 
QString orReportProto::watermarkText (  ) 

The documentation for this class was generated from the following files:

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