16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.WebBrowser.Tools.PrintToPdfDialog</h1> |
23 <h1>eric6.WebBrowser.Tools.PrintToPdfDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to enter the data for printing a web page to PDF. |
26 Module implementing a dialog to enter the data for printing a web page to PDF. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#PrintToPdfDialog">PrintToPdfDialog</a></td> |
38 <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> |
39 <td>Class implementing a dialog to enter the data for printing a web page to PDF.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="PrintToPdfDialog" ID="PrintToPdfDialog"></a> |
49 <a NAME="PrintToPdfDialog" ID="PrintToPdfDialog"></a> |
43 <h2>PrintToPdfDialog</h2> |
50 <h2>PrintToPdfDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to enter the data for printing a web page to |
53 Class implementing a dialog to enter the data for printing a web page to |
46 PDF. |
54 PDF. |
47 </p> |
55 </p> |
48 <h3>Derived from</h3> |
56 <h3>Derived from</h3> |
49 QDialog, Ui_PrintToPdfDialog |
57 QDialog, Ui_PrintToPdfDialog |
50 <h3>Class Attributes</h3> |
58 <h3>Class Attributes</h3> |
|
59 |
51 <table> |
60 <table> |
52 <tr><td>None</td></tr> |
61 <tr><td>None</td></tr> |
53 </table> |
62 </table> |
54 <h3>Class Methods</h3> |
63 <h3>Class Methods</h3> |
|
64 |
55 <table> |
65 <table> |
56 <tr><td>None</td></tr> |
66 <tr><td>None</td></tr> |
57 </table> |
67 </table> |
58 <h3>Methods</h3> |
68 <h3>Methods</h3> |
|
69 |
59 <table> |
70 <table> |
|
71 |
60 <tr> |
72 <tr> |
61 <td><a href="#PrintToPdfDialog.__init__">PrintToPdfDialog</a></td> |
73 <td><a href="#PrintToPdfDialog.__init__">PrintToPdfDialog</a></td> |
62 <td>Constructor</td> |
74 <td>Constructor</td> |
63 </tr><tr> |
75 </tr> |
|
76 <tr> |
64 <td><a href="#PrintToPdfDialog.__updatePageLayoutLabel">__updatePageLayoutLabel</a></td> |
77 <td><a href="#PrintToPdfDialog.__updatePageLayoutLabel">__updatePageLayoutLabel</a></td> |
65 <td>Private method to update the page layout label.</td> |
78 <td>Private method to update the page layout label.</td> |
66 </tr><tr> |
79 </tr> |
|
80 <tr> |
67 <td><a href="#PrintToPdfDialog.getData">getData</a></td> |
81 <td><a href="#PrintToPdfDialog.getData">getData</a></td> |
68 <td>Public method to get the dialog data.</td> |
82 <td>Public method to get the dialog data.</td> |
69 </tr><tr> |
83 </tr> |
|
84 <tr> |
70 <td><a href="#PrintToPdfDialog.on_pageLayoutButton_clicked">on_pageLayoutButton_clicked</a></td> |
85 <td><a href="#PrintToPdfDialog.on_pageLayoutButton_clicked">on_pageLayoutButton_clicked</a></td> |
71 <td>Private slot to define the page layout.</td> |
86 <td>Private slot to define the page layout.</td> |
72 </tr> |
87 </tr> |
73 </table> |
88 </table> |
74 <h3>Static Methods</h3> |
89 <h3>Static Methods</h3> |
|
90 |
75 <table> |
91 <table> |
76 <tr><td>None</td></tr> |
92 <tr><td>None</td></tr> |
77 </table> |
93 </table> |
|
94 |
78 <a NAME="PrintToPdfDialog.__init__" ID="PrintToPdfDialog.__init__"></a> |
95 <a NAME="PrintToPdfDialog.__init__" ID="PrintToPdfDialog.__init__"></a> |
79 <h4>PrintToPdfDialog (Constructor)</h4> |
96 <h4>PrintToPdfDialog (Constructor)</h4> |
80 <b>PrintToPdfDialog</b>(<i>filePath, parent=None</i>) |
97 <b>PrintToPdfDialog</b>(<i>filePath, parent=None</i>) |
|
98 |
81 <p> |
99 <p> |
82 Constructor |
100 Constructor |
83 </p><dl> |
101 </p> |
|
102 <dl> |
|
103 |
84 <dt><i>filePath</i> (str)</dt> |
104 <dt><i>filePath</i> (str)</dt> |
85 <dd> |
105 <dd> |
86 path of the file to write into |
106 path of the file to write into |
87 </dd><dt><i>parent</i> (QWidget)</dt> |
107 </dd> |
|
108 <dt><i>parent</i> (QWidget)</dt> |
88 <dd> |
109 <dd> |
89 reference to the parent widget |
110 reference to the parent widget |
90 </dd> |
111 </dd> |
91 </dl><a NAME="PrintToPdfDialog.__updatePageLayoutLabel" ID="PrintToPdfDialog.__updatePageLayoutLabel"></a> |
112 </dl> |
|
113 <a NAME="PrintToPdfDialog.__updatePageLayoutLabel" ID="PrintToPdfDialog.__updatePageLayoutLabel"></a> |
92 <h4>PrintToPdfDialog.__updatePageLayoutLabel</h4> |
114 <h4>PrintToPdfDialog.__updatePageLayoutLabel</h4> |
93 <b>__updatePageLayoutLabel</b>(<i></i>) |
115 <b>__updatePageLayoutLabel</b>(<i></i>) |
|
116 |
94 <p> |
117 <p> |
95 Private method to update the page layout label. |
118 Private method to update the page layout label. |
96 </p><a NAME="PrintToPdfDialog.getData" ID="PrintToPdfDialog.getData"></a> |
119 </p> |
|
120 <a NAME="PrintToPdfDialog.getData" ID="PrintToPdfDialog.getData"></a> |
97 <h4>PrintToPdfDialog.getData</h4> |
121 <h4>PrintToPdfDialog.getData</h4> |
98 <b>getData</b>(<i></i>) |
122 <b>getData</b>(<i></i>) |
|
123 |
99 <p> |
124 <p> |
100 Public method to get the dialog data. |
125 Public method to get the dialog data. |
101 </p><dl> |
126 </p> |
|
127 <dl> |
102 <dt>Returns:</dt> |
128 <dt>Returns:</dt> |
103 <dd> |
129 <dd> |
104 tuple containing the file path and the page layout |
130 tuple containing the file path and the page layout |
105 </dd> |
131 </dd> |
106 </dl><dl> |
132 </dl> |
|
133 <dl> |
107 <dt>Return Type:</dt> |
134 <dt>Return Type:</dt> |
108 <dd> |
135 <dd> |
109 tuple of str and QPageLayout |
136 tuple of str and QPageLayout |
110 </dd> |
137 </dd> |
111 </dl><a NAME="PrintToPdfDialog.on_pageLayoutButton_clicked" ID="PrintToPdfDialog.on_pageLayoutButton_clicked"></a> |
138 </dl> |
|
139 <a NAME="PrintToPdfDialog.on_pageLayoutButton_clicked" ID="PrintToPdfDialog.on_pageLayoutButton_clicked"></a> |
112 <h4>PrintToPdfDialog.on_pageLayoutButton_clicked</h4> |
140 <h4>PrintToPdfDialog.on_pageLayoutButton_clicked</h4> |
113 <b>on_pageLayoutButton_clicked</b>(<i></i>) |
141 <b>on_pageLayoutButton_clicked</b>(<i></i>) |
|
142 |
114 <p> |
143 <p> |
115 Private slot to define the page layout. |
144 Private slot to define the page layout. |
116 </p> |
145 </p> |
117 <div align="right"><a href="#top">Up</a></div> |
146 <div align="right"><a href="#top">Up</a></div> |
118 <hr /> |
147 <hr /> |