Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qprintdialog_win.cpp File Reference
#include <QtPrintSupport/qtprintsupportglobal.h>
#include "qprintdialog.h"
#include <qwidget.h>
#include <qapplication.h>
#include <qmessagebox.h>
#include <private/qapplication_p.h>
#include "qabstractprintdialog_p.h"
#include <private/qprintengine_win_p.h>
#include "../kernel/qprinter_p.h"
#include "moc_qprintdialog.cpp"
+ Include dependency graph for qprintdialog_win.cpp:

Go to the source code of this file.

Classes

class  QPrintDialogPrivate
 

Macros

#define PD_NOCURRENTPAGE   0x00800000
 
#define PD_RESULT_PRINT   1
 
#define PD_RESULT_APPLY   2
 
#define START_PAGE_GENERAL   0XFFFFFFFF
 

Functions

static void qt_win_setup_PRINTDLGEX (PRINTDLGEX *pd, QWidget *parent, QPrintDialog *pdlg, QPrintDialogPrivate *d, HGLOBAL *tempDevNames)
 
static void qt_win_read_back_PRINTDLGEX (PRINTDLGEX *pd, QPrintDialog *pdlg, QPrintDialogPrivate *d)
 
static bool warnIfNotNative (QPrinter *printer)
 

Macro Definition Documentation

◆ PD_NOCURRENTPAGE

#define PD_NOCURRENTPAGE   0x00800000

Definition at line 18 of file qprintdialog_win.cpp.

◆ PD_RESULT_APPLY

#define PD_RESULT_APPLY   2

Definition at line 20 of file qprintdialog_win.cpp.

◆ PD_RESULT_PRINT

#define PD_RESULT_PRINT   1

Definition at line 19 of file qprintdialog_win.cpp.

◆ START_PAGE_GENERAL

#define START_PAGE_GENERAL   0XFFFFFFFF

Definition at line 21 of file qprintdialog_win.cpp.

Function Documentation

◆ qt_win_read_back_PRINTDLGEX()

static void qt_win_read_back_PRINTDLGEX ( PRINTDLGEX *  pd,
QPrintDialog pdlg,
QPrintDialogPrivate d 
)
static

Definition at line 112 of file qprintdialog_win.cpp.

References QAbstractPrintDialog::AllPages, QAbstractPrintDialog::CurrentPage, d, QAbstractPrintDialog::PageRange, QAbstractPrintDialog::printer(), QAbstractPrintDialog::Selection, QAbstractPrintDialog::setFromTo(), QPagedPaintDevice::setPageRanges(), and QAbstractPrintDialog::setPrintRange().

Referenced by QPrintDialogPrivate::openWindowsPrintDialogModally().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qt_win_setup_PRINTDLGEX()

static void qt_win_setup_PRINTDLGEX ( PRINTDLGEX *  pd,
QWidget parent,
QPrintDialog pdlg,
QPrintDialogPrivate d,
HGLOBAL *  tempDevNames 
)
static

◆ warnIfNotNative()

static bool warnIfNotNative ( QPrinter printer)
static

Definition at line 138 of file qprintdialog_win.cpp.

References QPrinter::NativeFormat, QPrinter::outputFormat(), and qWarning.

+ Here is the call graph for this function: