eric6/Documentation/Source/eric6.WebBrowser.Tools.PrintToPdfDialog.html

changeset 6942
2602857055c5
parent 5036
318e879a37fa
child 7273
391d6b7b1eff
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.WebBrowser.Tools.PrintToPdfDialog</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.WebBrowser.Tools.PrintToPdfDialog</h1>
23 <p>
24 Module implementing a dialog to enter the data for printing a web page to PDF.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#PrintToPdfDialog">PrintToPdfDialog</a></td>
34 <td>Class implementing a dialog to enter the data for printing a web page to PDF.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="PrintToPdfDialog" ID="PrintToPdfDialog"></a>
43 <h2>PrintToPdfDialog</h2>
44 <p>
45 Class implementing a dialog to enter the data for printing a web page to
46 PDF.
47 </p>
48 <h3>Derived from</h3>
49 QDialog, Ui_PrintToPdfDialog
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Class Methods</h3>
55 <table>
56 <tr><td>None</td></tr>
57 </table>
58 <h3>Methods</h3>
59 <table>
60 <tr>
61 <td><a href="#PrintToPdfDialog.__init__">PrintToPdfDialog</a></td>
62 <td>Constructor</td>
63 </tr><tr>
64 <td><a href="#PrintToPdfDialog.__updatePageLayoutLabel">__updatePageLayoutLabel</a></td>
65 <td>Private method to update the page layout label.</td>
66 </tr><tr>
67 <td><a href="#PrintToPdfDialog.getData">getData</a></td>
68 <td>Public method to get the dialog data.</td>
69 </tr><tr>
70 <td><a href="#PrintToPdfDialog.on_pageLayoutButton_clicked">on_pageLayoutButton_clicked</a></td>
71 <td>Private slot to define the page layout.</td>
72 </tr>
73 </table>
74 <h3>Static Methods</h3>
75 <table>
76 <tr><td>None</td></tr>
77 </table>
78 <a NAME="PrintToPdfDialog.__init__" ID="PrintToPdfDialog.__init__"></a>
79 <h4>PrintToPdfDialog (Constructor)</h4>
80 <b>PrintToPdfDialog</b>(<i>filePath, parent=None</i>)
81 <p>
82 Constructor
83 </p><dl>
84 <dt><i>filePath</i> (str)</dt>
85 <dd>
86 path of the file to write into
87 </dd><dt><i>parent</i> (QWidget)</dt>
88 <dd>
89 reference to the parent widget
90 </dd>
91 </dl><a NAME="PrintToPdfDialog.__updatePageLayoutLabel" ID="PrintToPdfDialog.__updatePageLayoutLabel"></a>
92 <h4>PrintToPdfDialog.__updatePageLayoutLabel</h4>
93 <b>__updatePageLayoutLabel</b>(<i></i>)
94 <p>
95 Private method to update the page layout label.
96 </p><a NAME="PrintToPdfDialog.getData" ID="PrintToPdfDialog.getData"></a>
97 <h4>PrintToPdfDialog.getData</h4>
98 <b>getData</b>(<i></i>)
99 <p>
100 Public method to get the dialog data.
101 </p><dl>
102 <dt>Returns:</dt>
103 <dd>
104 tuple containing the file path and the page layout
105 </dd>
106 </dl><dl>
107 <dt>Return Type:</dt>
108 <dd>
109 tuple of str and QPageLayout
110 </dd>
111 </dl><a NAME="PrintToPdfDialog.on_pageLayoutButton_clicked" ID="PrintToPdfDialog.on_pageLayoutButton_clicked"></a>
112 <h4>PrintToPdfDialog.on_pageLayoutButton_clicked</h4>
113 <b>on_pageLayoutButton_clicked</b>(<i></i>)
114 <p>
115 Private slot to define the page layout.
116 </p>
117 <div align="right"><a href="#top">Up</a></div>
118 <hr />
119 </body></html>

eric ide

mercurial