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

branch
eric7
changeset 10479
856476537696
parent 10240
cbd566d49a88
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.WebBrowser.Tools.PrintToPdfDialog</h1> 9 <h1>eric7.WebBrowser.Tools.PrintToPdfDialog</h1>
10
11 <p> 10 <p>
12 Module implementing a dialog to enter the data for printing a web page to PDF. 11 Module implementing a dialog to enter the data for printing a web page to PDF.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#PrintToPdfDialog">PrintToPdfDialog</a></td> 22 <td><a href="#PrintToPdfDialog">PrintToPdfDialog</a></td>
25 <td>Class implementing a dialog to enter the data for printing a web page to PDF.</td> 23 <td>Class implementing a dialog to enter the data for printing a web page to PDF.</td>
26 </tr> 24 </tr>
27 </table> 25 </table>
26
28 <h3>Functions</h3> 27 <h3>Functions</h3>
29
30 <table> 28 <table>
31 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
32 </table> 30 </table>
31
33 <hr /> 32 <hr />
34 <hr /> 33 <hr />
35 <a NAME="PrintToPdfDialog" ID="PrintToPdfDialog"></a> 34 <a NAME="PrintToPdfDialog" ID="PrintToPdfDialog"></a>
36 <h2>PrintToPdfDialog</h2> 35 <h2>PrintToPdfDialog</h2>
37
38 <p> 36 <p>
39 Class implementing a dialog to enter the data for printing a web page to 37 Class implementing a dialog to enter the data for printing a web page to
40 PDF. 38 PDF.
41 </p> 39 </p>
40
42 <h3>Derived from</h3> 41 <h3>Derived from</h3>
43 QDialog, Ui_PrintToPdfDialog 42 QDialog, Ui_PrintToPdfDialog
44 <h3>Class Attributes</h3> 43 <h3>Class Attributes</h3>
45
46 <table> 44 <table>
47 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
48 </table> 46 </table>
47
49 <h3>Class Methods</h3> 48 <h3>Class Methods</h3>
50
51 <table> 49 <table>
52 <tr><td>None</td></tr> 50 <tr><td>None</td></tr>
53 </table> 51 </table>
52
54 <h3>Methods</h3> 53 <h3>Methods</h3>
55
56 <table> 54 <table>
57
58 <tr> 55 <tr>
59 <td><a href="#PrintToPdfDialog.__init__">PrintToPdfDialog</a></td> 56 <td><a href="#PrintToPdfDialog.__init__">PrintToPdfDialog</a></td>
60 <td>Constructor</td> 57 <td>Constructor</td>
61 </tr> 58 </tr>
62 <tr> 59 <tr>
70 <tr> 67 <tr>
71 <td><a href="#PrintToPdfDialog.on_pageLayoutButton_clicked">on_pageLayoutButton_clicked</a></td> 68 <td><a href="#PrintToPdfDialog.on_pageLayoutButton_clicked">on_pageLayoutButton_clicked</a></td>
72 <td>Private slot to define the page layout.</td> 69 <td>Private slot to define the page layout.</td>
73 </tr> 70 </tr>
74 </table> 71 </table>
72
75 <h3>Static Methods</h3> 73 <h3>Static Methods</h3>
76
77 <table> 74 <table>
78 <tr><td>None</td></tr> 75 <tr><td>None</td></tr>
79 </table> 76 </table>
80 77
78
81 <a NAME="PrintToPdfDialog.__init__" ID="PrintToPdfDialog.__init__"></a> 79 <a NAME="PrintToPdfDialog.__init__" ID="PrintToPdfDialog.__init__"></a>
82 <h4>PrintToPdfDialog (Constructor)</h4> 80 <h4>PrintToPdfDialog (Constructor)</h4>
83 <b>PrintToPdfDialog</b>(<i>printer, parent=None</i>) 81 <b>PrintToPdfDialog</b>(<i>printer, parent=None</i>)
84
85 <p> 82 <p>
86 Constructor 83 Constructor
87 </p> 84 </p>
85
88 <dl> 86 <dl>
89 87
90 <dt><i>printer</i> (QPrinter)</dt> 88 <dt><i>printer</i> (QPrinter)</dt>
91 <dd> 89 <dd>
92 reference to an initialized QPrinter object 90 reference to an initialized QPrinter object
97 </dd> 95 </dd>
98 </dl> 96 </dl>
99 <a NAME="PrintToPdfDialog.__updatePageLayoutLabel" ID="PrintToPdfDialog.__updatePageLayoutLabel"></a> 97 <a NAME="PrintToPdfDialog.__updatePageLayoutLabel" ID="PrintToPdfDialog.__updatePageLayoutLabel"></a>
100 <h4>PrintToPdfDialog.__updatePageLayoutLabel</h4> 98 <h4>PrintToPdfDialog.__updatePageLayoutLabel</h4>
101 <b>__updatePageLayoutLabel</b>(<i></i>) 99 <b>__updatePageLayoutLabel</b>(<i></i>)
102
103 <p> 100 <p>
104 Private method to update the page layout label. 101 Private method to update the page layout label.
105 </p> 102 </p>
103
106 <a NAME="PrintToPdfDialog.getData" ID="PrintToPdfDialog.getData"></a> 104 <a NAME="PrintToPdfDialog.getData" ID="PrintToPdfDialog.getData"></a>
107 <h4>PrintToPdfDialog.getData</h4> 105 <h4>PrintToPdfDialog.getData</h4>
108 <b>getData</b>(<i></i>) 106 <b>getData</b>(<i></i>)
109
110 <p> 107 <p>
111 Public method to get the dialog data. 108 Public method to get the dialog data.
112 </p> 109 </p>
110
113 <dl> 111 <dl>
114 <dt>Return:</dt> 112 <dt>Return:</dt>
115 <dd> 113 <dd>
116 tuple containing the file path and the page layout 114 tuple containing the file path and the page layout
117 </dd> 115 </dd>
123 </dd> 121 </dd>
124 </dl> 122 </dl>
125 <a NAME="PrintToPdfDialog.on_pageLayoutButton_clicked" ID="PrintToPdfDialog.on_pageLayoutButton_clicked"></a> 123 <a NAME="PrintToPdfDialog.on_pageLayoutButton_clicked" ID="PrintToPdfDialog.on_pageLayoutButton_clicked"></a>
126 <h4>PrintToPdfDialog.on_pageLayoutButton_clicked</h4> 124 <h4>PrintToPdfDialog.on_pageLayoutButton_clicked</h4>
127 <b>on_pageLayoutButton_clicked</b>(<i></i>) 125 <b>on_pageLayoutButton_clicked</b>(<i></i>)
128
129 <p> 126 <p>
130 Private slot to define the page layout. 127 Private slot to define the page layout.
131 </p> 128 </p>
129
132 <div align="right"><a href="#top">Up</a></div> 130 <div align="right"><a href="#top">Up</a></div>
133 <hr /> 131 <hr />
134 </body></html> 132 </body></html>

eric ide

mercurial