<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>QPrintPreviewWidget Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <h1 align="center">QPrintPreviewWidget Class Reference</h1> <h3 align="center">[<a href="com_trolltech_qt_gui.html">com.trolltech.qt.gui</a> package]</h3> <p>Inherits <a href="qwidget.html">QWidget</a>.</p> <h3>Constructor</h3> <ul> <li><div class="fn"/><b>void QPrintPreviewWidget(QPrinter printer, QWidget parent, WindowFlags flags)</b></li> <li><div class="fn"/><b>void QPrintPreviewWidget(QWidget parent, WindowFlags flags)</b></li> </ul> <h3>Constructor Properties</h3> <ul> <li><b>prototype</b>: The QPrintPreviewWidget prototype object</li> <li><b>CustomZoom</b></li> <li><b>FitToWidth</b></li> <li><b>FitInView</b></li> <li><b>ZoomMode( value )</b></li> <li><b>SinglePageView</b></li> <li><b>FacingPagesView</b></li> <li><b>AllPagesView</b></li> <li><b>ViewMode( value )</b></li> </ul> <h3>Prototype Object Properties</h3> <p>The QPrintPreviewWidget prototype object inherits properties from the <a href="qwidget.html">QWidget</a> prototype object and also has the following properties.</p> <ul> <li><div class="fn"/><b>int currentPage()</b></li> <li><div class="fn"/><b>int numPages()</b></li> <li><div class="fn"/><b>Orientation orientation()</b></li> <li><div class="fn"/><b>int pageCount()</b></li> <li><div class="fn"/><b>void setVisible(bool visible)</b></li> <li><div class="fn"/><b>ViewMode viewMode()</b></li> <li><div class="fn"/><b>qreal zoomFactor()</b></li> <li><div class="fn"/><b>ZoomMode zoomMode()</b></li> </ul> <h3>Instance Properties</h3> <p>QPrintPreviewWidget objects have no special properties beyond those inherited from the QPrintPreviewWidget prototype object.</p> </body> </html>