List of all members | Properties | Public Member Functions | Public Slots | Protected Attributes | Protected Slots
XDocCopySetter Class Reference

The XDocCopySetter gives the user a unified interface for telling the system how many copies of a particular document should be printed when it gets sent to a printer, what the watermark should be on the report, and whether the report should show prices or not. More...

#include <xdoccopysetter.h>

Properties

QString labelText
 
QString numCopiesMetric
 
QString showPriceMetric
 
QString watermarkMetric
 

Public Member Functions

 XDocCopySetter (QWidget *parent=0, const char *name=0)
 
 ~XDocCopySetter ()
 
virtual QString labelText () const
 
virtual Q_INVOKABLE int numCopies () const
 
virtual QString numCopiesMetric () const
 
virtual Q_INVOKABLE bool showCosts (const int row) const
 
virtual QString showPriceMetric () const
 
virtual Q_INVOKABLE QString watermark (const int row) const
 
virtual QString watermarkMetric () const
 
- Public Member Functions inherited from Ui_XDocCopySetter
void retranslateUi (QWidget *XDocCopySetter)
 
void retranslateUi (QWidget *XDocCopySetter)
 
void setupUi (QWidget *XDocCopySetter)
 
void setupUi (QWidget *XDocCopySetter)
 

Public Slots

virtual bool save ()
 
virtual void setLabelText (const QString text)
 
virtual void setNumCopies (const int numCopies)
 
virtual void setNumCopiesMetric (const QString metric)
 
virtual void setShowPriceMetric (const QString metric)
 
virtual void setWatermarkMetric (const QString metric)
 

Protected Attributes

QString _numCopiesMetric
 
QString _showPriceMetric
 
QString _watermarkMetric
 

Protected Slots

virtual void languageChange ()
 
virtual void sEditWatermark ()
 

Additional Inherited Members

- Public Attributes inherited from Ui_XDocCopySetter
QGroupBox_copiesGroup
 
QVBoxLayout * _copiesGroupLyt
 
QSpinBox_numOfCopies
 
QLabel_numOfCopiesLit
 
QHBoxLayout * _numOfCopiesLyt
 
XTreeWidget_watermarks
 
QGridLayout * _xDocCopySetterLyt
 
QSpacerItem * spacer11
 

Detailed Description

The XDocCopySetter gives the user a unified interface for telling the system how many copies of a particular document should be printed when it gets sent to a printer, what the watermark should be on the report, and whether the report should show prices or not.

See also
printInvoice

Constructor & Destructor Documentation

XDocCopySetter::XDocCopySetter ( QWidget parent = 0,
const char *  name = 0 
)
XDocCopySetter::~XDocCopySetter ( )

Member Function Documentation

virtual QString XDocCopySetter::labelText ( ) const
virtual
void XDocCopySetter::languageChange ( )
protectedvirtualslot
int XDocCopySetter::numCopies ( ) const
virtual
virtual QString XDocCopySetter::numCopiesMetric ( ) const
virtual
bool XDocCopySetter::save ( )
virtualslot
void XDocCopySetter::sEditWatermark ( )
protectedvirtualslot
void XDocCopySetter::setLabelText ( const QString  text)
virtualslot
void XDocCopySetter::setNumCopies ( const int  numCopies)
virtualslot
void XDocCopySetter::setNumCopiesMetric ( const QString  metric)
virtualslot
void XDocCopySetter::setShowPriceMetric ( const QString  metric)
virtualslot
void XDocCopySetter::setWatermarkMetric ( const QString  metric)
virtualslot
bool XDocCopySetter::showCosts ( const int  row) const
virtual
virtual QString XDocCopySetter::showPriceMetric ( ) const
virtual
QString XDocCopySetter::watermark ( const int  row) const
virtual
virtual QString XDocCopySetter::watermarkMetric ( ) const
virtual

Member Data Documentation

QString XDocCopySetter::_numCopiesMetric
protected
QString XDocCopySetter::_showPriceMetric
protected
QString XDocCopySetter::_watermarkMetric
protected

Property Documentation

QString XDocCopySetter::labelText
readwrite
QString XDocCopySetter::numCopiesMetric
readwrite
QString XDocCopySetter::showPriceMetric
readwrite
QString XDocCopySetter::watermarkMetric
readwrite

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

Generated on Fri Oct 7 2016 15:38:04 xTuple ERP Programmer Reference, Version 4.5.0 doxygen 1.8.10