📄 qprintdialog.3qt
字号:
.TH QPrintDialog 3qt "6 July 1999" "Troll Tech AS" \" -*- nroff -*-.\" Copyright 1992-1999 Troll Tech AS. All rights reserved. See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQPrintDialog \- Dialog for specifying print-out details.SH SYNOPSIS.br.PP\fC#include <qprintdialog.h>\fR.PPInherits QDialog..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQPrintDialog\fR ( QPrinter *, QWidget * " "parent" "=0, const char * " "name" "=0 )".br.ti -1c.BI "\fB~QPrintDialog\fR ()".br.ti -1c.BI "void \fBsetPrinter\fR ( QPrinter *, bool = FALSE )".br.ti -1c.BI "QPrinter* \fBprinter\fR () const".br.in -1c.SS "Static Public Members".in +1c.ti -1c.BI "bool \fBgetPrinterSetup\fR ( QPrinter * )".br.in -1c.SH DESCRIPTIONThe QPrintDialog class provides a dialog for specifying print-out details..PPIt encompasses both the sort of details needed for doing a simple print-out and some print configuration setup..PPAt present, the only easy way to use the class is through the static function getPrinterSetup(). You can however also call the global QPrintDialog::getPrinterConfigure(), or subclass in order to extend one of the group boxes..PPNote that in 1.40 the printer dialog is a little too high for comfortable use on a small-screen machine. This will be improved on in 2.1..PP<img src="printerdialog.png">.brThe printer dialog, on a large screen, in Motif style..SH MEMBER FUNCTION DOCUMENTATION.SH "QPrintDialog::QPrintDialog ( QPrinter * prn, QWidget * parent=0, const char * name=0 )"Creates a new modal printer dialog that configures \fIprn\fR and is a child of \fIparent\fR named \fIname.\fR.SH "QPrintDialog::~QPrintDialog ()"Destroys the object and frees any allocated resources. Does not delete the associated QPrinter object..SH "bool QPrintDialog::getPrinterSetup ( QPrinter * p ) \fC[static]\fR"Display a dialog and allow the user to configure the QPrinter \fIp.\fR Returns TRUE if the user clicks OK or presses Enter, FALSE if the user clicks Cancel or presses Escape..PPgetPrinterSetup() remembers the settings and provides the same settings the next time the dialog is shown..SH "QPrinter * QPrintDialog::printer () const"Returns a pointer to the printer this dialog configures, or 0 if this dialog does not operate on any printer..SH "void QPrintDialog::setPrinter ( QPrinter * p, bool pickUpSettings = FALSE )"Sets this dialog to configure \fIp,\fR or no printer if \fIp\fR isFALSE. If \fIpickUpSettings\fR is TRUE, the dialog reads most of itssettings from \fIprinter.\fR If \fIpickUpSettings\fR is FALSE (thedefault) the dialog keeps its old settings..SH "SEE ALSO".BR http://www.troll.no/qt/qprintdialog.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS. See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -