Public Member Functions
QPrinterProto Class Reference

#include <qprinterproto.h>

List of all members.

Public Member Functions

 QPrinterProto (QObject *parent)
Q_INVOKABLE bool abort ()
Q_INVOKABLE bool collateCopies () const
Q_INVOKABLE QPrinter::ColorMode colorMode () const
Q_INVOKABLE QString creator () const
Q_INVOKABLE int depth () const
Q_INVOKABLE QString docName () const
Q_INVOKABLE bool doubleSidedPrinting () const
Q_INVOKABLE QPrinter::DuplexMode duplex () const
Q_INVOKABLE bool fontEmbeddingEnabled () const
Q_INVOKABLE int fromPage () const
Q_INVOKABLE bool fullPage () const
Q_INVOKABLE void getPageMargins (qreal *left, qreal *top, qreal *right, qreal *bottom, QPrinter::Unit unit) const
Q_INVOKABLE int height () const
Q_INVOKABLE int heightMM () const
Q_INVOKABLE bool isValid () const
Q_INVOKABLE int logicalDpiX () const
Q_INVOKABLE int logicalDpiY () const
Q_INVOKABLE bool newPage ()
Q_INVOKABLE int numColors () const
Q_INVOKABLE int numCopies () const
Q_INVOKABLE QPrinter::Orientation orientation () const
Q_INVOKABLE QString outputFileName () const
Q_INVOKABLE QPrinter::OutputFormat outputFormat () const
Q_INVOKABLE QPrinter::PageOrder pageOrder () const
Q_INVOKABLE QRect pageRect () const
Q_INVOKABLE QRectF pageRect (QPrinter::Unit unit) const
virtual Q_INVOKABLE QPaintEnginepaintEngine () const
Q_INVOKABLE bool paintingActive () const
Q_INVOKABLE QRect paperRect () const
Q_INVOKABLE QRectF paperRect (QPrinter::Unit unit) const
Q_INVOKABLE QPrinter::PaperSize paperSize () const
Q_INVOKABLE QSizeF paperSize (QPrinter::Unit unit) const
Q_INVOKABLE QPrinter::PaperSource paperSource () const
Q_INVOKABLE int physicalDpiX () const
Q_INVOKABLE int physicalDpiY () const
Q_INVOKABLE QPrintEngineprintEngine () const
Q_INVOKABLE QString printerName () const
Q_INVOKABLE QString printerSelectionOption () const
Q_INVOKABLE QPrinter::PrinterState printerState () const
Q_INVOKABLE QString printProgram () const
Q_INVOKABLE QPrinter::PrintRange printRange () const
Q_INVOKABLE int resolution () const
Q_INVOKABLE void setCollateCopies (bool collate)
Q_INVOKABLE void setColorMode (QPrinter::ColorMode newColorMode)
Q_INVOKABLE void setCreator (const QString &creator)
Q_INVOKABLE void setDocName (const QString &name)
Q_INVOKABLE void setDoubleSidedPrinting (bool doubleSided)
Q_INVOKABLE void setDuplex (QPrinter::DuplexMode duplex)
Q_INVOKABLE void setFontEmbeddingEnabled (bool enable)
Q_INVOKABLE void setFromTo (int from, int to)
Q_INVOKABLE void setFullPage (bool fp)
Q_INVOKABLE void setNumCopies (int numCopies)
Q_INVOKABLE void setOrientation (QPrinter::Orientation orientation)
Q_INVOKABLE void setOutputFileName (const QString &fileName)
Q_INVOKABLE void setOutputFormat (QPrinter::OutputFormat format)
Q_INVOKABLE void setPageMargins (qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit)
Q_INVOKABLE void setPageOrder (QPrinter::PageOrder pageOrder)
Q_INVOKABLE void setPaperSize (QPrinter::PaperSize newPaperSize)
Q_INVOKABLE void setPaperSize (const QSizeF &paperSize, QPrinter::Unit unit)
Q_INVOKABLE void setPaperSource (QPrinter::PaperSource source)
Q_INVOKABLE void setPrinterName (const QString &name)
Q_INVOKABLE void setPrinterSelectionOption (const QString &option)
Q_INVOKABLE void setPrintProgram (const QString &printProg)
Q_INVOKABLE void setPrintRange (QPrinter::PrintRange range)
Q_INVOKABLE void setResolution (int dpi)
Q_INVOKABLE QList< int > supportedResolutions () const
Q_INVOKABLE int toPage () const
Q_INVOKABLE int width () const
Q_INVOKABLE int widthMM () const

Constructor & Destructor Documentation


Member Function Documentation

QPrinter::ColorMode QPrinterProto::colorMode ( ) const
int QPrinterProto::depth ( ) const
QPrinter::DuplexMode QPrinterProto::duplex ( ) const
int QPrinterProto::fromPage ( ) const
bool QPrinterProto::fullPage ( ) const
void QPrinterProto::getPageMargins ( qreal *  left,
qreal *  top,
qreal *  right,
qreal *  bottom,
QPrinter::Unit  unit 
) const
int QPrinterProto::height ( ) const
int QPrinterProto::heightMM ( ) const
bool QPrinterProto::isValid ( ) const
int QPrinterProto::numColors ( ) const
int QPrinterProto::numCopies ( ) const
QPrinter::Orientation QPrinterProto::orientation ( ) const
QPrinter::OutputFormat QPrinterProto::outputFormat ( ) const
QPrinter::PageOrder QPrinterProto::pageOrder ( ) const
QRectF QPrinterProto::pageRect ( QPrinter::Unit  unit) const
QRectF QPrinterProto::paperRect ( QPrinter::Unit  unit) const
QPrinter::PaperSize QPrinterProto::paperSize ( ) const
QSizeF QPrinterProto::paperSize ( QPrinter::Unit  unit) const
QPrinter::PaperSource QPrinterProto::paperSource ( ) const
QPrinter::PrinterState QPrinterProto::printerState ( ) const
QPrinter::PrintRange QPrinterProto::printRange ( ) const
void QPrinterProto::setCollateCopies ( bool  collate)
void QPrinterProto::setColorMode ( QPrinter::ColorMode  newColorMode)
void QPrinterProto::setCreator ( const QString creator)
void QPrinterProto::setDocName ( const QString name)
void QPrinterProto::setDoubleSidedPrinting ( bool  doubleSided)
void QPrinterProto::setDuplex ( QPrinter::DuplexMode  duplex)
void QPrinterProto::setFromTo ( int  from,
int  to 
)
void QPrinterProto::setFullPage ( bool  fp)
void QPrinterProto::setNumCopies ( int  numCopies)
void QPrinterProto::setOrientation ( QPrinter::Orientation  orientation)
void QPrinterProto::setOutputFileName ( const QString fileName)
void QPrinterProto::setOutputFormat ( QPrinter::OutputFormat  format)
void QPrinterProto::setPageMargins ( qreal  left,
qreal  top,
qreal  right,
qreal  bottom,
QPrinter::Unit  unit 
)
void QPrinterProto::setPageOrder ( QPrinter::PageOrder  pageOrder)
void QPrinterProto::setPaperSize ( QPrinter::PaperSize  newPaperSize)
void QPrinterProto::setPaperSize ( const QSizeF paperSize,
QPrinter::Unit  unit 
)
void QPrinterProto::setPaperSource ( QPrinter::PaperSource  source)
void QPrinterProto::setPrinterName ( const QString name)
void QPrinterProto::setPrintProgram ( const QString printProg)
void QPrinterProto::setPrintRange ( QPrinter::PrintRange  range)
void QPrinterProto::setResolution ( int  dpi)
int QPrinterProto::toPage ( ) const
int QPrinterProto::width ( ) const
int QPrinterProto::widthMM ( ) const

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

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