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.PageScreenDialog</h1> |
23 <h1>eric6.WebBrowser.PageScreenDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to save a screenshot of a web page. |
26 Module implementing a dialog to save a screenshot of a web page. |
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="#PageScreenDialog">PageScreenDialog</a></td> |
38 <td><a href="#PageScreenDialog">PageScreenDialog</a></td> |
34 <td>Class implementing a dialog to save a screenshot of a web page.</td> |
39 <td>Class implementing a dialog to save a screenshot of a web page.</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="PageScreenDialog" ID="PageScreenDialog"></a> |
49 <a NAME="PageScreenDialog" ID="PageScreenDialog"></a> |
43 <h2>PageScreenDialog</h2> |
50 <h2>PageScreenDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to save a screenshot of a web page. |
53 Class implementing a dialog to save a screenshot of a web page. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_PageScreenDialog |
56 QDialog, Ui_PageScreenDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
|
68 |
58 <table> |
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#PageScreenDialog.__init__">PageScreenDialog</a></td> |
72 <td><a href="#PageScreenDialog.__init__">PageScreenDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#PageScreenDialog.__createPixmap">__createPixmap</a></td> |
76 <td><a href="#PageScreenDialog.__createPixmap">__createPixmap</a></td> |
64 <td>Private slot to create a pixmap of the associated view's page.</td> |
77 <td>Private slot to create a pixmap of the associated view's page.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#PageScreenDialog.__savePageScreen">__savePageScreen</a></td> |
80 <td><a href="#PageScreenDialog.__savePageScreen">__savePageScreen</a></td> |
67 <td>Private slot to save the page screen.</td> |
81 <td>Private slot to save the page screen.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#PageScreenDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
84 <td><a href="#PageScreenDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
70 <td>Private slot to handle clicks of the dialog buttons.</td> |
85 <td>Private slot to handle clicks of the dialog buttons.</td> |
71 </tr> |
86 </tr> |
72 </table> |
87 </table> |
73 <h3>Static Methods</h3> |
88 <h3>Static Methods</h3> |
|
89 |
74 <table> |
90 <table> |
75 <tr><td>None</td></tr> |
91 <tr><td>None</td></tr> |
76 </table> |
92 </table> |
|
93 |
77 <a NAME="PageScreenDialog.__init__" ID="PageScreenDialog.__init__"></a> |
94 <a NAME="PageScreenDialog.__init__" ID="PageScreenDialog.__init__"></a> |
78 <h4>PageScreenDialog (Constructor)</h4> |
95 <h4>PageScreenDialog (Constructor)</h4> |
79 <b>PageScreenDialog</b>(<i>view, parent=None</i>) |
96 <b>PageScreenDialog</b>(<i>view, parent=None</i>) |
|
97 |
80 <p> |
98 <p> |
81 Constructor |
99 Constructor |
82 </p><dl> |
100 </p> |
|
101 <dl> |
|
102 |
83 <dt><i>view</i></dt> |
103 <dt><i>view</i></dt> |
84 <dd> |
104 <dd> |
85 reference to the web view containing the page to be saved |
105 reference to the web view containing the page to be saved |
86 (WebBrowserView) |
106 (WebBrowserView) |
87 </dd><dt><i>parent</i></dt> |
107 </dd> |
|
108 <dt><i>parent</i></dt> |
88 <dd> |
109 <dd> |
89 reference to the parent widget (QWidget) |
110 reference to the parent widget (QWidget) |
90 </dd> |
111 </dd> |
91 </dl><a NAME="PageScreenDialog.__createPixmap" ID="PageScreenDialog.__createPixmap"></a> |
112 </dl> |
|
113 <a NAME="PageScreenDialog.__createPixmap" ID="PageScreenDialog.__createPixmap"></a> |
92 <h4>PageScreenDialog.__createPixmap</h4> |
114 <h4>PageScreenDialog.__createPixmap</h4> |
93 <b>__createPixmap</b>(<i></i>) |
115 <b>__createPixmap</b>(<i></i>) |
|
116 |
94 <p> |
117 <p> |
95 Private slot to create a pixmap of the associated view's page. |
118 Private slot to create a pixmap of the associated view's page. |
96 </p><a NAME="PageScreenDialog.__savePageScreen" ID="PageScreenDialog.__savePageScreen"></a> |
119 </p> |
|
120 <a NAME="PageScreenDialog.__savePageScreen" ID="PageScreenDialog.__savePageScreen"></a> |
97 <h4>PageScreenDialog.__savePageScreen</h4> |
121 <h4>PageScreenDialog.__savePageScreen</h4> |
98 <b>__savePageScreen</b>(<i></i>) |
122 <b>__savePageScreen</b>(<i></i>) |
|
123 |
99 <p> |
124 <p> |
100 Private slot to save the page screen. |
125 Private slot to save the page screen. |
101 </p><dl> |
126 </p> |
|
127 <dl> |
102 <dt>Returns:</dt> |
128 <dt>Returns:</dt> |
103 <dd> |
129 <dd> |
104 flag indicating success (boolean) |
130 flag indicating success (boolean) |
105 </dd> |
131 </dd> |
106 </dl><a NAME="PageScreenDialog.on_buttonBox_clicked" ID="PageScreenDialog.on_buttonBox_clicked"></a> |
132 </dl> |
|
133 <a NAME="PageScreenDialog.on_buttonBox_clicked" ID="PageScreenDialog.on_buttonBox_clicked"></a> |
107 <h4>PageScreenDialog.on_buttonBox_clicked</h4> |
134 <h4>PageScreenDialog.on_buttonBox_clicked</h4> |
108 <b>on_buttonBox_clicked</b>(<i>button</i>) |
135 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
136 |
109 <p> |
137 <p> |
110 Private slot to handle clicks of the dialog buttons. |
138 Private slot to handle clicks of the dialog buttons. |
111 </p><dl> |
139 </p> |
|
140 <dl> |
|
141 |
112 <dt><i>button</i></dt> |
142 <dt><i>button</i></dt> |
113 <dd> |
143 <dd> |
114 button that was clicked (QAbstractButton) |
144 button that was clicked (QAbstractButton) |
115 </dd> |
145 </dd> |
116 </dl> |
146 </dl> |