List of all members | Properties | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends
printMulticopyDocument Class Reference

#include <printMulticopyDocument.h>

Inheritance diagram for printMulticopyDocument:
XDialog QDialog ScriptablePrivate ScriptableWidget printCreditMemo printCreditMemos printInvoice printInvoices printPurchaseOrder printShippingForm printShippingForms

Properties

QString doctype
 
QString reportKey
 

Public Slots

int exec ()
 
virtual void sAddToPrintedList (XSqlQuery *docq)
 
virtual void setDoctype (QString doctype)
 
virtual void setId (int docid)
 
virtual void setRememberPos (bool)
 
virtual void setRememberSize (bool)
 
virtual void sHandlePosted (int)
 
virtual bool sMarkOnePrinted (XSqlQuery *docq)
 
virtual bool sPostOneDoc (XSqlQuery *docq, int itemlocSeries=0)
 
virtual void sPrint ()
 
virtual bool sPrintOneDoc (XSqlQuery *docq)
 

Signals

void aboutToStart (XSqlQuery *qry)
 
void docUpdated (int)
 
void finishedPrinting (int)
 
void finishedWithAll ()
 
void newId (int id)
 
void populated (XSqlQuery *docq)
 
void posted (int)
 
void timeToMarkOnePrinted (XSqlQuery *docq)
 
void timeToPostOneDoc (XSqlQuery *docq, int itemlocSeries=0)
 
void timeToPrintOneDoc (XSqlQuery *docq)
 

Public Member Functions

 printMulticopyDocument (QString numCopiesMetric, QString watermarkMetric, QString showPriceMetric, QString postPrivilege=QString(), QWidget *parent=0, const char *name=0, bool modal=false, Qt::WindowFlags fl=0)
 
 printMulticopyDocument (QWidget *parent=0, const char *name=0, bool modal=false, Qt::WindowFlags fl=0)
 
 ~printMulticopyDocument ()
 
virtual Q_INVOKABLE void clear ()
 
virtual Q_INVOKABLE XDocCopySettercopies ()
 
virtual Q_INVOKABLE int distributeInventory (XSqlQuery *qry)
 
virtual QString doctype ()
 
virtual Q_INVOKABLE ParameterList get () const
 
virtual Q_INVOKABLE ParameterList getParamsDocList ()
 
virtual Q_INVOKABLE ParameterList getParamsOneCopy (const int row, XSqlQuery *qry)
 
virtual Q_INVOKABLE int id ()
 
virtual Q_INVOKABLE bool isOkToPrint ()
 
virtual Q_INVOKABLE bool isOnPrintedList (const int docid)
 
virtual Q_INVOKABLE bool isSetup ()
 
virtual Q_INVOKABLE QWidgetoptionsWidget ()
 
virtual Q_INVOKABLE void populate ()
 
virtual QString reportKey ()
 
virtual Q_INVOKABLE enum SetResponse set (const ParameterList &pParams)
 
virtual Q_INVOKABLE void setNumCopiesMetric (QString metric)
 
virtual Q_INVOKABLE void setPostPrivilege (QString priv)
 
virtual void setReportKey (QString key)
 
virtual Q_INVOKABLE void setSetup (bool setup)
 
virtual Q_INVOKABLE void setShowPriceMetric (QString metric)
 
virtual Q_INVOKABLE void setWatermarkMetric (QString metric)
 

Protected Slots

virtual void languageChange ()
 
virtual enum SetResponse postSet ()
 
virtual void saveSize ()
 

Protected Member Functions

virtual void callCloseEvent (QEvent *)
 
virtual enum SetResponse callSet (const ParameterList &)
 
virtual void callShowEvent (QEvent *)
 
virtual void closeEvent (QCloseEvent *event)
 
virtual QScriptEngine * engine ()
 
virtual void loadScript (const QString &oName)
 
virtual void loadScript (const QStringList &list)
 
virtual void loadScriptEngine ()
 
virtual Q_INVOKABLE bool setScriptableParams (ParameterList &)
 
virtual void showEvent (QShowEvent *event)
 

Protected Attributes

QString _askBeforePostingMsg
 
QString _askBeforePostingQry
 
printMulticopyDocumentPrivate_data
 
QScriptEngineDebugger * _debugger
 
bool _distributeInventory
 
QString _docinfoQueryString
 
QScriptEngine * _engine
 
QString _errCheckBeforePostingMsg
 
QString _errCheckBeforePostingQry
 
ParameterList _lastSetParams
 
QString _markAllPrintedQry
 
QString _markOnePrintedQry
 
QString _postFunction
 
QString _postQuery
 
QAction_rememberPos
 
QAction_rememberSize
 
bool _scriptLoaded
 
QWidget_self
 
QAction_showMe
 
bool _shown
 

Static Protected Attributes

static ScriptCache_cache
 
static GuiClientInterface_guiClientInterface
 

Friends

class printMulticopyDocumentPrivate
 

Property Documentation

◆ doctype

QString printMulticopyDocument::doctype
readwrite

◆ reportKey

QString printMulticopyDocument::reportKey
readwrite

Constructor & Destructor Documentation

◆ printMulticopyDocument() [1/2]

printMulticopyDocument::printMulticopyDocument ( QWidget parent = 0,
const char *  name = 0,
bool  modal = false,
Qt::WindowFlags  fl = 0 
)

◆ printMulticopyDocument() [2/2]

printMulticopyDocument::printMulticopyDocument ( QString  numCopiesMetric,
QString  watermarkMetric,
QString  showPriceMetric,
QString  postPrivilege = QString(),
QWidget parent = 0,
const char *  name = 0,
bool  modal = false,
Qt::WindowFlags  fl = 0 
)

◆ ~printMulticopyDocument()

printMulticopyDocument::~printMulticopyDocument ( )

Member Function Documentation

◆ aboutToStart

void printMulticopyDocument::aboutToStart ( XSqlQuery *  qry)
signal

◆ callCloseEvent()

void ScriptablePrivate::callCloseEvent ( QEvent *  event)
virtualinherited

◆ callSet()

enum SetResponse ScriptablePrivate::callSet ( const ParameterList &  params)
virtualinherited

◆ callShowEvent()

void ScriptablePrivate::callShowEvent ( QEvent *  event)
virtualinherited

◆ clear()

void printMulticopyDocument::clear ( )
virtual

Reimplemented in printShippingForm.

◆ closeEvent()

void XDialog::closeEvent ( QCloseEvent *  event)
protectedvirtualinherited

Reimplemented in voucherItem, contact, and taxAuthority.

◆ copies()

XDocCopySetter * printMulticopyDocument::copies ( )
virtual

◆ distributeInventory()

int printMulticopyDocument::distributeInventory ( XSqlQuery *  qry)
virtual

◆ doctype()

virtual QString printMulticopyDocument::doctype ( )
virtual

◆ docUpdated

void printMulticopyDocument::docUpdated ( int  )
signal

◆ engine()

QScriptEngine * ScriptablePrivate::engine ( )
virtualinherited

Reimplemented from ScriptableWidget.

◆ exec

int XDialog::exec ( )
slotinherited

◆ finishedPrinting

void printMulticopyDocument::finishedPrinting ( int  )
signal

◆ finishedWithAll

void printMulticopyDocument::finishedWithAll ( )
signal

◆ get()

ParameterList XDialog::get ( ) const
virtualinherited

Implements ScriptablePrivate.

◆ getParamsDocList()

ParameterList printMulticopyDocument::getParamsDocList ( )
virtual

Reimplemented in printShippingForm, and printInvoices.

◆ getParamsOneCopy()

ParameterList printMulticopyDocument::getParamsOneCopy ( const int  row,
XSqlQuery *  qry 
)
virtual

◆ id()

int printMulticopyDocument::id ( )
virtual

◆ isOkToPrint()

bool printMulticopyDocument::isOkToPrint ( )
virtual

Reimplemented in printShippingForm, and printPurchaseOrder.

◆ isOnPrintedList()

bool printMulticopyDocument::isOnPrintedList ( const int  docid)
virtual

◆ isSetup()

bool printMulticopyDocument::isSetup ( )
virtual

◆ languageChange

void printMulticopyDocument::languageChange ( )
protectedvirtualslot

◆ loadScript() [1/2]

void ScriptableWidget::loadScript ( const QString &  oName)
virtualinherited

◆ loadScript() [2/2]

void ScriptableWidget::loadScript ( const QStringList &  list)
virtualinherited

◆ loadScriptEngine()

void ScriptableWidget::loadScriptEngine ( )
virtualinherited

◆ newId

void printMulticopyDocument::newId ( int  id)
signal

◆ optionsWidget()

QWidget * printMulticopyDocument::optionsWidget ( )
virtual

◆ populate()

void printMulticopyDocument::populate ( )
virtual

Reimplemented in printShippingForm.

◆ populated

void printMulticopyDocument::populated ( XSqlQuery *  docq)
signal

◆ posted

void printMulticopyDocument::posted ( int  )
signal

◆ postSet

enum SetResponse XDialog::postSet ( )
protectedvirtualslotinherited

◆ reportKey()

virtual QString printMulticopyDocument::reportKey ( )
virtual

◆ sAddToPrintedList

void printMulticopyDocument::sAddToPrintedList ( XSqlQuery *  docq)
virtualslot

◆ saveSize

void XDialog::saveSize ( )
protectedvirtualslotinherited

◆ set()

enum SetResponse printMulticopyDocument::set ( const ParameterList &  pParams)
virtual

Reimplemented from XDialog.

◆ setDoctype

void printMulticopyDocument::setDoctype ( QString  doctype)
virtualslot

◆ setId

void printMulticopyDocument::setId ( int  docid)
virtualslot

◆ setNumCopiesMetric()

void printMulticopyDocument::setNumCopiesMetric ( QString  metric)
virtual

◆ setPostPrivilege()

void printMulticopyDocument::setPostPrivilege ( QString  priv)
virtual

◆ setRememberPos

void XDialog::setRememberPos ( bool  b)
virtualslotinherited

◆ setRememberSize

void XDialog::setRememberSize ( bool  b)
virtualslotinherited

◆ setReportKey()

void printMulticopyDocument::setReportKey ( QString  key)
virtual

◆ setScriptableParams()

bool ScriptableWidget::setScriptableParams ( ParameterList &  params)
virtualinherited

◆ setSetup()

void printMulticopyDocument::setSetup ( bool  setup)
virtual

◆ setShowPriceMetric()

void printMulticopyDocument::setShowPriceMetric ( QString  metric)
virtual

◆ setWatermarkMetric()

void printMulticopyDocument::setWatermarkMetric ( QString  metric)
virtual

◆ sHandlePosted

void printMulticopyDocument::sHandlePosted ( int  docid)
virtualslot

◆ showEvent()

void XDialog::showEvent ( QShowEvent *  event)
protectedvirtualinherited

Reimplemented in externalShipping.

◆ sMarkOnePrinted

bool printMulticopyDocument::sMarkOnePrinted ( XSqlQuery *  docq)
virtualslot

◆ sPostOneDoc

bool printMulticopyDocument::sPostOneDoc ( XSqlQuery *  docq,
int  itemlocSeries = 0 
)
virtualslot

◆ sPrint

void printMulticopyDocument::sPrint ( )
virtualslot

◆ sPrintOneDoc

bool printMulticopyDocument::sPrintOneDoc ( XSqlQuery *  docq)
virtualslot

◆ timeToMarkOnePrinted

void printMulticopyDocument::timeToMarkOnePrinted ( XSqlQuery *  docq)
signal

◆ timeToPostOneDoc

void printMulticopyDocument::timeToPostOneDoc ( XSqlQuery *  docq,
int  itemlocSeries = 0 
)
signal

◆ timeToPrintOneDoc

void printMulticopyDocument::timeToPrintOneDoc ( XSqlQuery *  docq)
signal

Friends And Related Function Documentation

◆ printMulticopyDocumentPrivate

friend class printMulticopyDocumentPrivate
friend

Member Data Documentation

◆ _askBeforePostingMsg

QString printMulticopyDocument::_askBeforePostingMsg
protected

◆ _askBeforePostingQry

QString printMulticopyDocument::_askBeforePostingQry
protected

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _data

printMulticopyDocumentPrivate* printMulticopyDocument::_data
protected

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _distributeInventory

bool printMulticopyDocument::_distributeInventory
protected

◆ _docinfoQueryString

QString printMulticopyDocument::_docinfoQueryString
protected

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _errCheckBeforePostingMsg

QString printMulticopyDocument::_errCheckBeforePostingMsg
protected

◆ _errCheckBeforePostingQry

QString printMulticopyDocument::_errCheckBeforePostingQry
protected

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _markAllPrintedQry

QString printMulticopyDocument::_markAllPrintedQry
protected

◆ _markOnePrintedQry

QString printMulticopyDocument::_markOnePrintedQry
protected

◆ _postFunction

QString printMulticopyDocument::_postFunction
protected

◆ _postQuery

QString printMulticopyDocument::_postQuery
protected

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

◆ _showMe

QAction* ScriptablePrivate::_showMe
inherited

◆ _shown

bool ScriptablePrivate::_shown
inherited

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

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