Public Member Functions
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, QWidget *parent=0)
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 (const QRect &rect)
Q_INVOKABLE void setBackgroundRect (int x, int y, int w, int h)
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 ParameterList &params)
Q_INVOKABLE void setParamList (const QStringList &list)
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


Member Function Documentation

Qt::AspectRatioMode orReportProto::backgroundScaleMode ( )
bool orReportProto::exportToPDF ( const QString fileName)
ParameterList orReportProto::getParamList ( )
bool orReportProto::print ( QPrinter prtThis = 0,
bool  boolSetupPrinter = TRUE,
bool  showPreview = false,
QWidget parent = 0 
)
bool orReportProto::render ( QPainter painter,
QPrinter printer = 0 
)
void orReportProto::setBackgroundAlignment ( int  alignment)
void orReportProto::setBackgroundImage ( const QImage image)
void orReportProto::setBackgroundOpacity ( unsigned char  opacity)
void orReportProto::setBackgroundRect ( const QRect rect)
void orReportProto::setBackgroundRect ( int  x,
int  y,
int  w,
int  h 
)
void orReportProto::setBackgroundScale ( bool  scale)
void orReportProto::setBackgroundScaleMode ( Qt::AspectRatioMode  mode)
bool orReportProto::setDom ( const QDomDocument docPReport)
void orReportProto::setParamList ( const ParameterList &  params)
void orReportProto::setParamList ( const QStringList list)
void orReportProto::setWatermarkFont ( const QFont font)
void orReportProto::setWatermarkOpacity ( unsigned char  opacity)
void orReportProto::setWatermarkText ( const QString text)

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

Generated on Mon Jan 23 2012 12:22:35 xTuple ERP Programmer Reference, Version 3.8.0 doxygen 1.7.6.1