src/eric7/Documentation/Source/eric7.WebBrowser.SiteInfo.SiteInfoDialog.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10436
f6881d10e995
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.WebBrowser.SiteInfo.SiteInfoDialog</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.WebBrowser.SiteInfo.SiteInfoDialog</h1>
10
11 <p>
12 Module implementing a dialog to show some information about a site.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#SiteInfoDialog">SiteInfoDialog</a></td>
25 <td>Class implementing a dialog to show some information about a site.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="SiteInfoDialog" ID="SiteInfoDialog"></a>
36 <h2>SiteInfoDialog</h2>
37
38 <p>
39 Class implementing a dialog to show some information about a site.
40 </p>
41 <h3>Derived from</h3>
42 QDialog, Ui_SiteInfoDialog
43 <h3>Class Attributes</h3>
44
45 <table>
46 <tr><td>securityStyleFormat</td></tr>
47 </table>
48 <h3>Class Methods</h3>
49
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Methods</h3>
54
55 <table>
56
57 <tr>
58 <td><a href="#SiteInfoDialog.__init__">SiteInfoDialog</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#SiteInfoDialog.__copyAction">__copyAction</a></td>
63 <td>Private slot to copy the image URL or the image name to the clipboard.</td>
64 </tr>
65 <tr>
66 <td><a href="#SiteInfoDialog.__imageReplyFinished">__imageReplyFinished</a></td>
67 <td>Private slot handling the loading of an image.</td>
68 </tr>
69 <tr>
70 <td><a href="#SiteInfoDialog.__imagesTreeContextMenuRequested">__imagesTreeContextMenuRequested</a></td>
71 <td>Private slot to show a context menu for the images list.</td>
72 </tr>
73 <tr>
74 <td><a href="#SiteInfoDialog.__processImageTags">__processImageTags</a></td>
75 <td>Private method to process the image tags.</td>
76 </tr>
77 <tr>
78 <td><a href="#SiteInfoDialog.__processMetaAttributes">__processMetaAttributes</a></td>
79 <td>Private method to process the meta attributes.</td>
80 </tr>
81 <tr>
82 <td><a href="#SiteInfoDialog.__saveImage">__saveImage</a></td>
83 <td>Private slot to save the selected image to disk.</td>
84 </tr>
85 <tr>
86 <td><a href="#SiteInfoDialog.__showLoadingText">__showLoadingText</a></td>
87 <td>Private method to show some text while loading an image.</td>
88 </tr>
89 <tr>
90 <td><a href="#SiteInfoDialog.__showPixmap">__showPixmap</a></td>
91 <td>Private method to show a pixmap in the preview pane.</td>
92 </tr>
93 <tr>
94 <td><a href="#SiteInfoDialog.on_imagesTree_currentItemChanged">on_imagesTree_currentItemChanged</a></td>
95 <td>Private slot to show a preview of the selected image.</td>
96 </tr>
97 <tr>
98 <td><a href="#SiteInfoDialog.on_securityDetailsButton_clicked">on_securityDetailsButton_clicked</a></td>
99 <td>Private slot to show security details.</td>
100 </tr>
101 </table>
102 <h3>Static Methods</h3>
103
104 <table>
105 <tr><td>None</td></tr>
106 </table>
107
108 <a NAME="SiteInfoDialog.__init__" ID="SiteInfoDialog.__init__"></a>
109 <h4>SiteInfoDialog (Constructor)</h4>
110 <b>SiteInfoDialog</b>(<i>browser, parent=None</i>)
111
112 <p>
113 Constructor
114 </p>
115 <dl>
116
117 <dt><i>browser</i></dt>
118 <dd>
119 reference to the browser window (HelpBrowser)
120 </dd>
121 <dt><i>parent</i></dt>
122 <dd>
123 reference to the parent widget (QWidget)
124 </dd>
125 </dl>
126 <a NAME="SiteInfoDialog.__copyAction" ID="SiteInfoDialog.__copyAction"></a>
127 <h4>SiteInfoDialog.__copyAction</h4>
128 <b>__copyAction</b>(<i>act</i>)
129
130 <p>
131 Private slot to copy the image URL or the image name to the clipboard.
132 </p>
133 <dl>
134
135 <dt><i>act</i> (QAction)</dt>
136 <dd>
137 reference to the action that triggered
138 </dd>
139 </dl>
140 <a NAME="SiteInfoDialog.__imageReplyFinished" ID="SiteInfoDialog.__imageReplyFinished"></a>
141 <h4>SiteInfoDialog.__imageReplyFinished</h4>
142 <b>__imageReplyFinished</b>(<i></i>)
143
144 <p>
145 Private slot handling the loading of an image.
146 </p>
147 <a NAME="SiteInfoDialog.__imagesTreeContextMenuRequested" ID="SiteInfoDialog.__imagesTreeContextMenuRequested"></a>
148 <h4>SiteInfoDialog.__imagesTreeContextMenuRequested</h4>
149 <b>__imagesTreeContextMenuRequested</b>(<i>pos</i>)
150
151 <p>
152 Private slot to show a context menu for the images list.
153 </p>
154 <dl>
155
156 <dt><i>pos</i></dt>
157 <dd>
158 position for the menu (QPoint)
159 </dd>
160 </dl>
161 <a NAME="SiteInfoDialog.__processImageTags" ID="SiteInfoDialog.__processImageTags"></a>
162 <h4>SiteInfoDialog.__processImageTags</h4>
163 <b>__processImageTags</b>(<i>res</i>)
164
165 <p>
166 Private method to process the image tags.
167 </p>
168 <dl>
169
170 <dt><i>res</i> (list of dict)</dt>
171 <dd>
172 result of the JavaScript script
173 </dd>
174 </dl>
175 <a NAME="SiteInfoDialog.__processMetaAttributes" ID="SiteInfoDialog.__processMetaAttributes"></a>
176 <h4>SiteInfoDialog.__processMetaAttributes</h4>
177 <b>__processMetaAttributes</b>(<i>res</i>)
178
179 <p>
180 Private method to process the meta attributes.
181 </p>
182 <dl>
183
184 <dt><i>res</i> (list of dict)</dt>
185 <dd>
186 result of the JavaScript script
187 </dd>
188 </dl>
189 <a NAME="SiteInfoDialog.__saveImage" ID="SiteInfoDialog.__saveImage"></a>
190 <h4>SiteInfoDialog.__saveImage</h4>
191 <b>__saveImage</b>(<i>act</i>)
192
193 <p>
194 Private slot to save the selected image to disk.
195 </p>
196 <dl>
197
198 <dt><i>act</i> (QAction)</dt>
199 <dd>
200 reference to the action that triggered
201 </dd>
202 </dl>
203 <a NAME="SiteInfoDialog.__showLoadingText" ID="SiteInfoDialog.__showLoadingText"></a>
204 <h4>SiteInfoDialog.__showLoadingText</h4>
205 <b>__showLoadingText</b>(<i></i>)
206
207 <p>
208 Private method to show some text while loading an image.
209 </p>
210 <a NAME="SiteInfoDialog.__showPixmap" ID="SiteInfoDialog.__showPixmap"></a>
211 <h4>SiteInfoDialog.__showPixmap</h4>
212 <b>__showPixmap</b>(<i>pixmap</i>)
213
214 <p>
215 Private method to show a pixmap in the preview pane.
216 </p>
217 <dl>
218
219 <dt><i>pixmap</i> (QPixmap)</dt>
220 <dd>
221 pixmap to be shown
222 </dd>
223 </dl>
224 <a NAME="SiteInfoDialog.on_imagesTree_currentItemChanged" ID="SiteInfoDialog.on_imagesTree_currentItemChanged"></a>
225 <h4>SiteInfoDialog.on_imagesTree_currentItemChanged</h4>
226 <b>on_imagesTree_currentItemChanged</b>(<i>current, previous</i>)
227
228 <p>
229 Private slot to show a preview of the selected image.
230 </p>
231 <dl>
232
233 <dt><i>current</i></dt>
234 <dd>
235 current image entry (QTreeWidgetItem)
236 </dd>
237 <dt><i>previous</i></dt>
238 <dd>
239 old current entry (QTreeWidgetItem)
240 </dd>
241 </dl>
242 <a NAME="SiteInfoDialog.on_securityDetailsButton_clicked" ID="SiteInfoDialog.on_securityDetailsButton_clicked"></a>
243 <h4>SiteInfoDialog.on_securityDetailsButton_clicked</h4>
244 <b>on_securityDetailsButton_clicked</b>(<i></i>)
245
246 <p>
247 Private slot to show security details.
248 </p>
249 <div align="right"><a href="#top">Up</a></div>
250 <hr />
251 </body></html>

eric ide

mercurial