src/eric7/Documentation/Source/eric7.WebBrowser.Tools.PrintToPdfDialog.html

Fri, 27 Oct 2023 14:09:40 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 27 Oct 2023 14:09:40 +0200
branch
eric7
changeset 10259
b51dfacef37f
parent 10240
cbd566d49a88
child 10479
856476537696
permissions
-rw-r--r--

Regenerated the source documentation with the corrected module parser.

<!DOCTYPE html>
<html><head>
<title>eric7.WebBrowser.Tools.PrintToPdfDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.WebBrowser.Tools.PrintToPdfDialog</h1>

<p>
Module implementing a dialog to enter the data for printing a web page to PDF.
</p>
<h3>Global Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>

<table>

<tr>
<td><a href="#PrintToPdfDialog">PrintToPdfDialog</a></td>
<td>Class implementing a dialog to enter the data for printing a web page to PDF.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="PrintToPdfDialog" ID="PrintToPdfDialog"></a>
<h2>PrintToPdfDialog</h2>

<p>
    Class implementing a dialog to enter the data for printing a web page to
    PDF.
</p>
<h3>Derived from</h3>
QDialog, Ui_PrintToPdfDialog
<h3>Class Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>

<table>

<tr>
<td><a href="#PrintToPdfDialog.__init__">PrintToPdfDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#PrintToPdfDialog.__updatePageLayoutLabel">__updatePageLayoutLabel</a></td>
<td>Private method to update the page layout label.</td>
</tr>
<tr>
<td><a href="#PrintToPdfDialog.getData">getData</a></td>
<td>Public method to get the dialog data.</td>
</tr>
<tr>
<td><a href="#PrintToPdfDialog.on_pageLayoutButton_clicked">on_pageLayoutButton_clicked</a></td>
<td>Private slot to define the page layout.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="PrintToPdfDialog.__init__" ID="PrintToPdfDialog.__init__"></a>
<h4>PrintToPdfDialog (Constructor)</h4>
<b>PrintToPdfDialog</b>(<i>printer, parent=None</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>printer</i> (QPrinter)</dt>
<dd>
reference to an initialized QPrinter object
</dd>
<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl>
<a NAME="PrintToPdfDialog.__updatePageLayoutLabel" ID="PrintToPdfDialog.__updatePageLayoutLabel"></a>
<h4>PrintToPdfDialog.__updatePageLayoutLabel</h4>
<b>__updatePageLayoutLabel</b>(<i></i>)

<p>
        Private method to update the page layout label.
</p>
<a NAME="PrintToPdfDialog.getData" ID="PrintToPdfDialog.getData"></a>
<h4>PrintToPdfDialog.getData</h4>
<b>getData</b>(<i></i>)

<p>
        Public method to get the dialog data.
</p>
<dl>
<dt>Return:</dt>
<dd>
tuple containing the file path and the page layout
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
tuple of str and QPageLayout
</dd>
</dl>
<a NAME="PrintToPdfDialog.on_pageLayoutButton_clicked" ID="PrintToPdfDialog.on_pageLayoutButton_clicked"></a>
<h4>PrintToPdfDialog.on_pageLayoutButton_clicked</h4>
<b>on_pageLayoutButton_clicked</b>(<i></i>)

<p>
        Private slot to define the page layout.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial