|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Helpviewer.PageScreenDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Helpviewer.PageScreenDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to save a screenshot of a web page. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#PageScreenDialog">PageScreenDialog</a></td> |
|
35 <td>Class documentation goes here.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="PageScreenDialog" ID="PageScreenDialog"></a> |
|
44 <h2>PageScreenDialog</h2> |
|
45 <p> |
|
46 Class documentation goes here. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_PageScreenDialog |
|
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="#PageScreenDialog.__init__">PageScreenDialog</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr><tr> |
|
64 <td><a href="#PageScreenDialog.__createPixmap">__createPixmap</a></td> |
|
65 <td>Private slot to create a pixmap of the associated view's page.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#PageScreenDialog.__savePageScreen">__savePageScreen</a></td> |
|
68 <td>Private slot to save the page screen.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#PageScreenDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
71 <td>Private slot to handle clicks of the dialog buttons.</td> |
|
72 </tr> |
|
73 </table> |
|
74 <h3>Static Methods</h3> |
|
75 <table> |
|
76 <tr><td>None</td></tr> |
|
77 </table> |
|
78 <a NAME="PageScreenDialog.__init__" ID="PageScreenDialog.__init__"></a> |
|
79 <h4>PageScreenDialog (Constructor)</h4> |
|
80 <b>PageScreenDialog</b>(<i>view, parent=None</i>) |
|
81 <p> |
|
82 Constructor |
|
83 </p><dl> |
|
84 <dt><i>view</i></dt> |
|
85 <dd> |
|
86 reference to the web view containing the page to be saved |
|
87 (HelpBrowser) |
|
88 </dd><dt><i>parent</i></dt> |
|
89 <dd> |
|
90 reference to the parent widget (QWidget) |
|
91 </dd> |
|
92 </dl><a NAME="PageScreenDialog.__createPixmap" ID="PageScreenDialog.__createPixmap"></a> |
|
93 <h4>PageScreenDialog.__createPixmap</h4> |
|
94 <b>__createPixmap</b>(<i></i>) |
|
95 <p> |
|
96 Private slot to create a pixmap of the associated view's page. |
|
97 </p><a NAME="PageScreenDialog.__savePageScreen" ID="PageScreenDialog.__savePageScreen"></a> |
|
98 <h4>PageScreenDialog.__savePageScreen</h4> |
|
99 <b>__savePageScreen</b>(<i></i>) |
|
100 <p> |
|
101 Private slot to save the page screen. |
|
102 </p><dl> |
|
103 <dt>Returns:</dt> |
|
104 <dd> |
|
105 flag indicating success (boolean) |
|
106 </dd> |
|
107 </dl><a NAME="PageScreenDialog.on_buttonBox_clicked" ID="PageScreenDialog.on_buttonBox_clicked"></a> |
|
108 <h4>PageScreenDialog.on_buttonBox_clicked</h4> |
|
109 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
110 <p> |
|
111 Private slot to handle clicks of the dialog buttons. |
|
112 </p><dl> |
|
113 <dt><i>button</i></dt> |
|
114 <dd> |
|
115 button that was clicked (QAbstractButton) |
|
116 </dd> |
|
117 </dl> |
|
118 <div align="right"><a href="#top">Up</a></div> |
|
119 <hr /> |
|
120 </body></html> |