List of all members | Public Member Functions
orReportProto Class Reference

#include <orreportproto.h>

Inheritance diagram for orReportProto:
QObject QScriptable

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

◆ orReportProto()

orReportProto::orReportProto ( QObject parent)

Member Function Documentation

◆ backgroundAlignment()

int orReportProto::backgroundAlignment ( )

◆ backgroundImage()

QImage orReportProto::backgroundImage ( )

◆ backgroundOpacity()

unsigned char orReportProto::backgroundOpacity ( )

◆ backgroundRect()

QRect orReportProto::backgroundRect ( )

◆ backgroundScale()

bool orReportProto::backgroundScale ( )

◆ backgroundScaleMode()

Qt::AspectRatioMode orReportProto::backgroundScaleMode ( )

◆ doesReportExist()

bool orReportProto::doesReportExist ( )

◆ doParamsSatisfy()

bool orReportProto::doParamsSatisfy ( )

◆ exportToPDF()

bool orReportProto::exportToPDF ( const QString &  fileName)

◆ getParamList()

ParameterList orReportProto::getParamList ( )

◆ isValid()

bool orReportProto::isValid ( )

◆ print()

bool orReportProto::print ( QPrinter *  prtThis = 0,
bool  boolSetupPrinter = true,
bool  showPreview = false,
QWidget parent = 0 
)

◆ render()

bool orReportProto::render ( QPainter *  painter,
QPrinter *  printer = 0 
)

◆ reportError()

int orReportProto::reportError ( QWidget widget)

◆ satisfyParams()

bool orReportProto::satisfyParams ( QWidget widget)

◆ setBackgroundAlignment()

void orReportProto::setBackgroundAlignment ( int  alignment)

◆ setBackgroundImage()

void orReportProto::setBackgroundImage ( const QImage &  image)

◆ setBackgroundOpacity()

void orReportProto::setBackgroundOpacity ( unsigned char  opacity)

◆ setBackgroundRect() [1/2]

void orReportProto::setBackgroundRect ( const QRect &  rect)

◆ setBackgroundRect() [2/2]

void orReportProto::setBackgroundRect ( int  x,
int  y,
int  w,
int  h 
)

◆ setBackgroundScale()

void orReportProto::setBackgroundScale ( bool  scale)

◆ setBackgroundScaleMode()

void orReportProto::setBackgroundScaleMode ( Qt::AspectRatioMode  mode)

◆ setDatabase()

void orReportProto::setDatabase ( QSqlDatabase  db)

◆ setDom()

bool orReportProto::setDom ( const QDomDocument &  docPReport)

◆ setParamList() [1/2]

void orReportProto::setParamList ( const ParameterList &  params)

◆ setParamList() [2/2]

void orReportProto::setParamList ( const QStringList &  list)

◆ setWatermarkFont()

void orReportProto::setWatermarkFont ( const QFont &  font)

◆ setWatermarkOpacity()

void orReportProto::setWatermarkOpacity ( unsigned char  opacity)

◆ setWatermarkText()

void orReportProto::setWatermarkText ( const QString &  text)

◆ watermarkFont()

QFont orReportProto::watermarkFont ( )

◆ watermarkOpacity()

unsigned char orReportProto::watermarkOpacity ( )

◆ watermarkText()

QString orReportProto::watermarkText ( )

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17