1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html><head><title>QPageSetupDialog Class Reference</title><style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
td.postheader { font-family: sans-serif }
tr.address { font-family: sans-serif }
body { background: #ffffff; color: black; }
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">  </td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QPageSetupDialog Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QPageSetupDialog class provides a configuration dialog for the page-related options on a printer. <a href="#details">More...</a></p>
<p>Inherits <a href="qdialog.html">QDialog</a>.</p><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qpagesetupdialog.html#QPageSetupDialog">__init__</a></b> (<i>self</i>, QPrinter <i>printer</i>, QWidget <i>parent</i> = None)</li><li><div class="fn" />int <b><a href="qpagesetupdialog.html#exec">exec_</a></b> (<i>self</i>)</li><li><div class="fn" />QPrinter <b><a href="qpagesetupdialog.html#printer">printer</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QPageSetupDialog class provides a configuration dialog for the page-related options on a printer.</p>
<p>On Windows and Mac OS X the page setup dialog is implemented using the native page setup dialogs.</p>
<p>See also <a href="qprinter.html">QPrinter</a>.</p>
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QPageSetupDialog" />QPageSetupDialog.__init__ (<i>self</i>, <a href="qprinter.html">QPrinter</a> <i>printer</i>, <a href="qwidget.html">QWidget</a> <i>parent</i> = None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs a page setup dialog that configures <i>printer</i> with <i>parent</i> as the parent widget.</p>
<h3 class="fn"><a name="exec" />int QPageSetupDialog.exec_ (<i>self</i>)</h3><h3 class="fn"><a name="printer" /><a href="qprinter.html">QPrinter</a> QPageSetupDialog.printer (<i>self</i>)</h3><p>Returns the printer that was passed to the <a href="qpagesetupdialog.html">QPageSetupDialog</a> constructor.</p>
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td width="25%">PyQt 4.0.1 for X11</td><td align="center" width="50%">Copyright © <a href="http://www.riverbankcomputing.com">Riverbank Computing Ltd</a> and <a href="http://www.trolltech.com">Trolltech AS</a> 2006</td><td align="right" width="25%">Qt 4.1.4</td></tr></table></div></address></body></html>
|