Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qprint_p.h File Reference

(c5d9d4d6f50fb86263009c0860c9897c8682485a)

#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 44 of file qprint_p.h.

◆ DMBIN_CASSETTE

#define DMBIN_CASSETTE   14

Definition at line 49 of file qprint_p.h.

◆ DMBIN_ENVELOPE

#define DMBIN_ENVELOPE   5

Definition at line 42 of file qprint_p.h.

◆ DMBIN_ENVMANUAL

#define DMBIN_ENVMANUAL   6

Definition at line 43 of file qprint_p.h.

◆ DMBIN_FORMSOURCE

#define DMBIN_FORMSOURCE   15

Definition at line 50 of file qprint_p.h.

◆ DMBIN_LARGECAPACITY

#define DMBIN_LARGECAPACITY   11

Definition at line 48 of file qprint_p.h.

◆ DMBIN_LARGEFMT

#define DMBIN_LARGEFMT   10

Definition at line 47 of file qprint_p.h.

◆ DMBIN_LOWER

#define DMBIN_LOWER   2

Definition at line 39 of file qprint_p.h.

◆ DMBIN_MANUAL

#define DMBIN_MANUAL   4

Definition at line 41 of file qprint_p.h.

◆ DMBIN_MIDDLE

#define DMBIN_MIDDLE   3

Definition at line 40 of file qprint_p.h.

◆ DMBIN_ONLYONE

#define DMBIN_ONLYONE   1

Definition at line 38 of file qprint_p.h.

◆ DMBIN_SMALLFMT

#define DMBIN_SMALLFMT   9

Definition at line 46 of file qprint_p.h.

◆ DMBIN_TRACTOR

#define DMBIN_TRACTOR   8

Definition at line 45 of file qprint_p.h.

◆ DMBIN_UPPER

#define DMBIN_UPPER   1

Definition at line 37 of file qprint_p.h.

◆ DMBIN_USER

#define DMBIN_USER   256

Definition at line 51 of file qprint_p.h.