7#include <QtPrintSupport/qtprintsupportglobal.h>
8#include <QtCore/qvariant.h>
9#include <QtPrintSupport/qprinter.h>
57 PPK_PaperSize = PPK_PageSize,
59 PPK_CustomBase = 0xff00
virtual QPrinter::PrinterState printerState() const =0
Returns the current state of the printer being used by the print engine.
virtual void setProperty(PrintEnginePropertyKey key, const QVariant &value)=0
Sets the print engine's property specified by key to the given value.
virtual QVariant property(PrintEnginePropertyKey key) const =0
Returns the print engine's property specified by key.
PrintEnginePropertyKey
This enum is used to communicate properties between the print engine and QPrinter.
@ PPK_SupportedResolutions
@ PPK_SupportsMultipleCopies
virtual ~QPrintEngine()
Destroys the print engine.
virtual bool newPage()=0
Instructs the print engine to start a new page.
virtual int metric(QPaintDevice::PaintDeviceMetric) const =0
Returns the metric for the given id.
virtual bool abort()=0
Instructs the print engine to abort the printing process.
PrinterState
\value Idle \value Active \value Aborted \value Error
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]