Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwindowsprintdevice.cpp File Reference

(bd6d7d4d74e34b96217388c50f14dbd0df620be6)

#include "qwindowsprintdevice_p.h"
#include <QtCore/qdebug.h>
+ Include dependency graph for qwindowsprintdevice.cpp:

Go to the source code of this file.

Macros

#define DC_COLLATE   22
 

Typedefs

using WindowsPrinterLookup = QList<QWindowsPrinterInfo>
 

Functions

 Q_GLOBAL_STATIC (WindowsPrinterLookup, windowsDeviceLookup)
 
qreal qt_pointMultiplier (QPageLayout::Unit unit)
 
static uint qwcsnlen (const wchar_t *str, uint maxlen)
 
static LPDEVMODE getDevmode (HANDLE hPrinter, const QString &printerId)
 

Macro Definition Documentation

◆ DC_COLLATE

#define DC_COLLATE   22

Definition at line 10 of file qwindowsprintdevice.cpp.

Referenced by QWindowsPrintDevice::loadCopiesSupport().

Typedef Documentation

◆ WindowsPrinterLookup

Function Documentation

◆ getDevmode()

static LPDEVMODE getDevmode ( HANDLE hPrinter,
const QString & printerId )
static

Definition at line 30 of file qwindowsprintdevice.cpp.

Referenced by QWindowsPrintDevice::defaultColorMode(), QWindowsPrintDevice::defaultDuplexMode(), QWindowsPrintDevice::defaultInputSlot(), QWindowsPrintDevice::defaultPageSize(), QWindowsPrintDevice::defaultResolution(), and QWindowsPrintDevice::printableMargins().

+ Here is the caller graph for this function:

◆ Q_GLOBAL_STATIC()

Q_GLOBAL_STATIC ( WindowsPrinterLookup ,
windowsDeviceLookup  )

◆ qt_pointMultiplier()

qreal qt_pointMultiplier ( QPageLayout::Unit unit)
extern

Definition at line 20 of file qpagelayout.cpp.

References QPageLayout::Cicero, QPageLayout::Didot, QPageLayout::Inch, QPageLayout::Millimeter, QPageLayout::Pica, and QPageLayout::Point.

Referenced by QWindowsPrintDevice::loadMinMaxPageSizes(), QWindowsPrintDevice::loadPageSizes(), and qt_convertMargins().

+ Here is the caller graph for this function:

◆ qwcsnlen()

static uint qwcsnlen ( const wchar_t * str,
uint maxlen )
inlinestatic

Definition at line 20 of file qwindowsprintdevice.cpp.

References str.

Referenced by QWindowsPrintDevice::loadInputSlots(), and QWindowsPrintDevice::loadPageSizes().

+ Here is the caller graph for this function: