QtBase
v6.3.1
|
#include <qprintengine_win_p.h>
Friends | |
class | QPrintDialog |
class | QPageSetupDialog |
Definition at line 72 of file qprintengine_win_p.h.
QWin32PrintEngine::QWin32PrintEngine | ( | QPrinter::PrinterMode | mode, |
const QString & | deviceId | ||
) |
|
overridevirtual |
Instructs the print engine to abort the printing process. Returns true if successful; otherwise returns false
.
Implements QPrintEngine.
Definition at line 275 of file qprintengine_win.cpp.
|
overridevirtual |
Reimplement this function to initialise your paint engine when painting is to start on the paint device pdev. Return true if the initialization was successful; otherwise return false.
Reimplemented from QAlphaPaintEngine.
Definition at line 112 of file qprintengine_win.cpp.
HGLOBAL * QWin32PrintEngine::createGlobalDevNames | ( | ) |
|
overridevirtual |
The default implementation ignores the path and does nothing.
Reimplemented from QAlphaPaintEngine.
Definition at line 809 of file qprintengine_win.cpp.
|
overridevirtual |
Reimplement this function to draw the part of the pm specified by the sr rectangle in the given r.
Reimplemented from QAlphaPaintEngine.
Definition at line 523 of file qprintengine_win.cpp.
|
overridevirtual |
Reimplement this virtual function to draw the polygon defined by the pointCount first points in points, using mode mode.
Reimplemented from QAlphaPaintEngine.
Definition at line 829 of file qprintengine_win.cpp.
|
overridevirtual |
This function draws the text item textItem at position p. The default implementation of this function converts the text to a QPainterPath and paints the resulting path.
Reimplemented from QAlphaPaintEngine.
Definition at line 281 of file qprintengine_win.cpp.
|
overridevirtual |
Reimplement this function to draw the pixmap in the given rect, starting at the given p. The pixmap will be drawn repeatedly until the rect is filled.
Reimplemented from QAlphaPaintEngine.
Definition at line 623 of file qprintengine_win.cpp.
|
overridevirtual |
Reimplement this function to finish painting on the current paint device. Return true if painting was finished successfully; otherwise return false.
Reimplemented from QAlphaPaintEngine.
Definition at line 181 of file qprintengine_win.cpp.
HDC QWin32PrintEngine::getDC | ( | ) | const |
Definition at line 1558 of file qprintengine_win.cpp.
HGLOBAL QWin32PrintEngine::globalDevMode | ( | ) |
Definition at line 1628 of file qprintengine_win.cpp.
|
overridevirtual |
Returns the metric for the given id.
Implements QPrintEngine.
Definition at line 347 of file qprintengine_win.cpp.
|
overridevirtual |
Instructs the print engine to start a new page. Returns true
if the printer was able to create the new page; otherwise returns false
.
Implements QPrintEngine.
Definition at line 209 of file qprintengine_win.cpp.
|
overridevirtual |
Returns the current state of the printer being used by the print engine.
Implements QPrintEngine.
Definition at line 1553 of file qprintengine_win.cpp.
|
overridevirtual |
Returns the print engine's property specified by key.
Implements QPrintEngine.
Definition at line 1362 of file qprintengine_win.cpp.
void QWin32PrintEngine::releaseDC | ( | HDC | ) | const |
Definition at line 1563 of file qprintengine_win.cpp.
void QWin32PrintEngine::setGlobalDevMode | ( | HGLOBAL | globalDevNames, |
HGLOBAL | globalDevMode | ||
) |
|
overridevirtual |
Sets the print engine's property specified by key to the given value.
Implements QPrintEngine.
Definition at line 1053 of file qprintengine_win.cpp.
|
inlineoverridevirtual |
Reimplement this function to return the paint engine \l{Type}.
Implements QPaintEngine.
Definition at line 102 of file qprintengine_win_p.h.
void QWin32PrintEngine::updateClipPath | ( | const QPainterPath & | clip, |
Qt::ClipOperation | op | ||
) |
Definition at line 466 of file qprintengine_win.cpp.
void QWin32PrintEngine::updateMatrix | ( | const QTransform & | matrix | ) |
|
overridevirtual |
Reimplement this function to update the state of a paint engine.
When implemented, this function is responsible for checking the paint engine's current state and update the properties that are changed. Use the QPaintEngineState::state() function to find out which properties that must be updated, then use the corresponding \l {GetFunction}{get function} to retrieve the current values for the given properties.
Reimplemented from QAlphaPaintEngine.
Definition at line 425 of file qprintengine_win.cpp.
|
friend |
Definition at line 114 of file qprintengine_win_p.h.
|
friend |
Definition at line 113 of file qprintengine_win_p.h.