Qt 4.8
|
#include "qprinter_p.h"
#include "qprinter.h"
#include "qprintengine.h"
#include "qprinterinfo.h"
#include "qlist.h"
#include <qpagesetupdialog.h>
#include <qapplication.h>
#include <qfileinfo.h>
#include "private/qcups_p.h"
#include <private/qprintengine_win_p.h>
#include <private/qprintengine_ps_p.h>
#include <private/qt_x11_p.h>
#include "qprintengine_pdf_p.h"
#include <qpicture.h>
#include <private/qpaintengine_preview_p.h>
Go to the source code of this file.
Macros | |
#define | ABORT_IF_ACTIVE(location) |
Functions | |
QPrinter::PaperSize | qSizeFTopaperSize (const QSizeF &size) |
double | qt_multiplierForUnit (QPrinter::Unit unit, int resolution) |
return the multiplier of converting from the unit value to postscript-points. More... | |
QSizeF | qt_paperSizeToQSizeF (QPrinter::PaperSize size) |
QSizeF | qt_printerPaperSize (QPrinter::Orientation orientation, QPrinter::PaperSize paperSize, QPrinter::Unit unit, int resolution) |
Variables | |
static const float | qt_paperSizes [][2] |
#define ABORT_IF_ACTIVE | ( | location | ) |
Definition at line 82 of file qprinter.cpp.
Referenced by QPrinter::setCollateCopies(), QPrinter::setColorMode(), QPrinter::setCopyCount(), QPrinter::setCreator(), QPrinter::setDocName(), QPrinter::setNumCopies(), QPrinter::setOutputFileName(), QPrinter::setPageOrder(), QPrinter::setPaperSize(), QPrinter::setPrinterName(), QPrinter::setPrintProgram(), QPrinter::setResolution(), and QPrinter::setWinPageSize().
QPrinter::PaperSize qSizeFTopaperSize | ( | const QSizeF & | size | ) |
Definition at line 2629 of file qprinter.cpp.
Referenced by QPrinterInfo::supportedPaperSizes().
double qt_multiplierForUnit | ( | QPrinter::Unit | unit, |
int | resolution | ||
) |
return the multiplier of converting from the unit value to postscript-points.
Definition at line 123 of file qprinter.cpp.
Referenced by QPageSetupWidget::_q_pageOrientationChanged(), QPrinter::getPageMargins(), QPrinter::pageRect(), QPrinter::paperRect(), QPrinter::paperSize(), qt_printerPaperSize(), QPrinter::setPageMargins(), QPrinter::setPaperSize(), and QPageSetupWidget::unitChanged().
QSizeF qt_paperSizeToQSizeF | ( | QPrinter::PaperSize | size | ) |
Definition at line 2615 of file qprinter.cpp.
Referenced by QtopiaPrintEngine::paperRect(), QMacPrintEnginePrivate::paperSize(), QPdf::paperSize(), and QMacPrintEnginePrivate::setPaperSize().
QSizeF qt_printerPaperSize | ( | QPrinter::Orientation | orientation, |
QPrinter::PaperSize | paperSize, | ||
QPrinter::Unit | unit, | ||
int | resolution | ||
) |
Definition at line 145 of file qprinter.cpp.
Referenced by QPageSetupWidget::_q_paperSizeChanged(), and QPrinter::paperSize().
|
static |
Definition at line 89 of file qprinter.cpp.
Referenced by qSizeFTopaperSize(), qt_paperSizeToQSizeF(), and qt_printerPaperSize().