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
qprint_p.h File Reference

(0092f06a648ba29c9643ae19a88ed2eb6ea1300f)

#include <QtPrintSupport/private/qtprintsupportglobal_p.h>
#include <QtPrintSupport/qprinter.h>
#include <QtCore/qstring.h>
#include <QtCore/qlist.h>
+ Include dependency graph for qprint_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QPrint::InputSlot
 
struct  QPrint::OutputBin
 
struct  InputSlotMap
 
struct  OutputBinMap
 

Namespaces

namespace  QPrint
 
namespace  QPrintUtils
 

Macros

#define DMBIN_UPPER   1
 
#define DMBIN_ONLYONE   1
 
#define DMBIN_LOWER   2
 
#define DMBIN_MIDDLE   3
 
#define DMBIN_MANUAL   4
 
#define DMBIN_ENVELOPE   5
 
#define DMBIN_ENVMANUAL   6
 
#define DMBIN_AUTO   7
 
#define DMBIN_TRACTOR   8
 
#define DMBIN_SMALLFMT   9
 
#define DMBIN_LARGEFMT   10
 
#define DMBIN_LARGECAPACITY   11
 
#define DMBIN_CASSETTE   14
 
#define DMBIN_FORMSOURCE   15
 
#define DMBIN_USER   256
 

Enumerations

enum  QPrint::DeviceState { QPrint::Idle , QPrint::Active , QPrint::Aborted , QPrint::Error }
 
enum  QPrint::DuplexMode { QPrint::DuplexNone = 0 , QPrint::DuplexAuto , QPrint::DuplexLongSide , QPrint::DuplexShortSide }
 
enum  QPrint::ColorMode { QPrint::GrayScale , QPrint::Color }
 
enum  QPrint::InputSlotId {
  QPrint::Upper , QPrint::Lower , QPrint::Middle , QPrint::Manual ,
  QPrint::Envelope , QPrint::EnvelopeManual , QPrint::Auto , QPrint::Tractor ,
  QPrint::SmallFormat , QPrint::LargeFormat , QPrint::LargeCapacity , QPrint::Cassette ,
  QPrint::FormSource , QPrint::MaxPageSource , QPrint::CustomInputSlot , QPrint::LastInputSlot = CustomInputSlot ,
  QPrint::OnlyOne = Upper
}
 
enum  QPrint::OutputBinId {
  QPrint::AutoOutputBin , QPrint::UpperBin , QPrint::LowerBin , QPrint::RearBin ,
  QPrint::CustomOutputBin , QPrint::LastOutputBin = CustomOutputBin
}
 

Functions

QPrint::InputSlotId QPrintUtils::inputSlotKeyToInputSlotId (const QByteArray &key)
 
QByteArray QPrintUtils::inputSlotIdToInputSlotKey (QPrint::InputSlotId id)
 
int QPrintUtils::inputSlotIdToWindowsId (QPrint::InputSlotId id)
 
QPrint::OutputBinId QPrintUtils::outputBinKeyToOutputBinId (const QByteArray &key)
 
QByteArray QPrintUtils::outputBinIdToOutputBinKey (QPrint::OutputBinId id)
 
QPrint::InputSlot QPrintUtils::paperBinToInputSlot (int windowsId, const QString &name)
 

Macro Definition Documentation

◆ DMBIN_AUTO

#define DMBIN_AUTO   7

Definition at line 43 of file qprint_p.h.

Referenced by QWin32PrintEngine::setProperty().

◆ DMBIN_CASSETTE

#define DMBIN_CASSETTE   14

Definition at line 48 of file qprint_p.h.

◆ DMBIN_ENVELOPE

#define DMBIN_ENVELOPE   5

Definition at line 41 of file qprint_p.h.

◆ DMBIN_ENVMANUAL

#define DMBIN_ENVMANUAL   6

Definition at line 42 of file qprint_p.h.

◆ DMBIN_FORMSOURCE

#define DMBIN_FORMSOURCE   15

Definition at line 49 of file qprint_p.h.

◆ DMBIN_LARGECAPACITY

#define DMBIN_LARGECAPACITY   11

Definition at line 47 of file qprint_p.h.

◆ DMBIN_LARGEFMT

#define DMBIN_LARGEFMT   10

Definition at line 46 of file qprint_p.h.

◆ DMBIN_LOWER

#define DMBIN_LOWER   2

Definition at line 38 of file qprint_p.h.

◆ DMBIN_MANUAL

#define DMBIN_MANUAL   4

Definition at line 40 of file qprint_p.h.

◆ DMBIN_MIDDLE

#define DMBIN_MIDDLE   3

Definition at line 39 of file qprint_p.h.

◆ DMBIN_ONLYONE

#define DMBIN_ONLYONE   1

Definition at line 37 of file qprint_p.h.

◆ DMBIN_SMALLFMT

#define DMBIN_SMALLFMT   9

Definition at line 45 of file qprint_p.h.

◆ DMBIN_TRACTOR

#define DMBIN_TRACTOR   8

Definition at line 44 of file qprint_p.h.

◆ DMBIN_UPPER

#define DMBIN_UPPER   1

Definition at line 36 of file qprint_p.h.

◆ DMBIN_USER

#define DMBIN_USER   256

Definition at line 50 of file qprint_p.h.

Referenced by QWin32PrintEngine::property(), and QWin32PrintEngine::setProperty().