eric6/Documentation/Source/eric6.WebBrowser.SiteInfo.SiteInfoDialog.html

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7273
391d6b7b1eff
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.WebBrowser.SiteInfo.SiteInfoDialog</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.WebBrowser.SiteInfo.SiteInfoDialog</h1>
23 <p>
24 Module implementing a dialog to show some information about a site.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#SiteInfoDialog">SiteInfoDialog</a></td>
34 <td>Class implementing a dialog to show some information about a site.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="SiteInfoDialog" ID="SiteInfoDialog"></a>
43 <h2>SiteInfoDialog</h2>
44 <p>
45 Class implementing a dialog to show some information about a site.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_SiteInfoDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>nokStyle</td></tr><tr><td>okStyle</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#SiteInfoDialog.__init__">SiteInfoDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#SiteInfoDialog.__copyAction">__copyAction</a></td>
64 <td>Private slot to copy the image URL or the image name to the clipboard.</td>
65 </tr><tr>
66 <td><a href="#SiteInfoDialog.__imageReplyFinished">__imageReplyFinished</a></td>
67 <td>Private slot handling the loading of an image.</td>
68 </tr><tr>
69 <td><a href="#SiteInfoDialog.__imagesTreeContextMenuRequested">__imagesTreeContextMenuRequested</a></td>
70 <td>Private slot to show a context menu for the images list.</td>
71 </tr><tr>
72 <td><a href="#SiteInfoDialog.__processImageTags">__processImageTags</a></td>
73 <td>Private method to process the image tags.</td>
74 </tr><tr>
75 <td><a href="#SiteInfoDialog.__processMetaAttributes">__processMetaAttributes</a></td>
76 <td>Private method to process the meta attributes.</td>
77 </tr><tr>
78 <td><a href="#SiteInfoDialog.__saveImage">__saveImage</a></td>
79 <td>Private slot to save the selected image to disk.</td>
80 </tr><tr>
81 <td><a href="#SiteInfoDialog.__showLoadingText">__showLoadingText</a></td>
82 <td>Private method to show some text while loading an image.</td>
83 </tr><tr>
84 <td><a href="#SiteInfoDialog.__showPixmap">__showPixmap</a></td>
85 <td>Private method to show a pixmap in the preview pane.</td>
86 </tr><tr>
87 <td><a href="#SiteInfoDialog.on_imagesTree_currentItemChanged">on_imagesTree_currentItemChanged</a></td>
88 <td>Private slot to show a preview of the selected image.</td>
89 </tr>
90 </table>
91 <h3>Static Methods</h3>
92 <table>
93 <tr><td>None</td></tr>
94 </table>
95 <a NAME="SiteInfoDialog.__init__" ID="SiteInfoDialog.__init__"></a>
96 <h4>SiteInfoDialog (Constructor)</h4>
97 <b>SiteInfoDialog</b>(<i>browser, parent=None</i>)
98 <p>
99 Constructor
100 </p><dl>
101 <dt><i>browser</i></dt>
102 <dd>
103 reference to the browser window (HelpBrowser)
104 </dd><dt><i>parent</i></dt>
105 <dd>
106 reference to the parent widget (QWidget)
107 </dd>
108 </dl><a NAME="SiteInfoDialog.__copyAction" ID="SiteInfoDialog.__copyAction"></a>
109 <h4>SiteInfoDialog.__copyAction</h4>
110 <b>__copyAction</b>(<i>act</i>)
111 <p>
112 Private slot to copy the image URL or the image name to the clipboard.
113 </p><dl>
114 <dt><i>act</i> (QAction)</dt>
115 <dd>
116 reference to the action that triggered
117 </dd>
118 </dl><a NAME="SiteInfoDialog.__imageReplyFinished" ID="SiteInfoDialog.__imageReplyFinished"></a>
119 <h4>SiteInfoDialog.__imageReplyFinished</h4>
120 <b>__imageReplyFinished</b>(<i></i>)
121 <p>
122 Private slot handling the loading of an image.
123 </p><a NAME="SiteInfoDialog.__imagesTreeContextMenuRequested" ID="SiteInfoDialog.__imagesTreeContextMenuRequested"></a>
124 <h4>SiteInfoDialog.__imagesTreeContextMenuRequested</h4>
125 <b>__imagesTreeContextMenuRequested</b>(<i>pos</i>)
126 <p>
127 Private slot to show a context menu for the images list.
128 </p><dl>
129 <dt><i>pos</i></dt>
130 <dd>
131 position for the menu (QPoint)
132 </dd>
133 </dl><a NAME="SiteInfoDialog.__processImageTags" ID="SiteInfoDialog.__processImageTags"></a>
134 <h4>SiteInfoDialog.__processImageTags</h4>
135 <b>__processImageTags</b>(<i>res</i>)
136 <p>
137 Private method to process the image tags.
138 </p><dl>
139 <dt><i>res</i> (list of dict)</dt>
140 <dd>
141 result of the JavaScript script
142 </dd>
143 </dl><a NAME="SiteInfoDialog.__processMetaAttributes" ID="SiteInfoDialog.__processMetaAttributes"></a>
144 <h4>SiteInfoDialog.__processMetaAttributes</h4>
145 <b>__processMetaAttributes</b>(<i>res</i>)
146 <p>
147 Private method to process the meta attributes.
148 </p><dl>
149 <dt><i>res</i> (list of dict)</dt>
150 <dd>
151 result of the JavaScript script
152 </dd>
153 </dl><a NAME="SiteInfoDialog.__saveImage" ID="SiteInfoDialog.__saveImage"></a>
154 <h4>SiteInfoDialog.__saveImage</h4>
155 <b>__saveImage</b>(<i>act</i>)
156 <p>
157 Private slot to save the selected image to disk.
158 </p><dl>
159 <dt><i>act</i> (QAction)</dt>
160 <dd>
161 reference to the action that triggered
162 </dd>
163 </dl><a NAME="SiteInfoDialog.__showLoadingText" ID="SiteInfoDialog.__showLoadingText"></a>
164 <h4>SiteInfoDialog.__showLoadingText</h4>
165 <b>__showLoadingText</b>(<i></i>)
166 <p>
167 Private method to show some text while loading an image.
168 </p><a NAME="SiteInfoDialog.__showPixmap" ID="SiteInfoDialog.__showPixmap"></a>
169 <h4>SiteInfoDialog.__showPixmap</h4>
170 <b>__showPixmap</b>(<i>pixmap</i>)
171 <p>
172 Private method to show a pixmap in the preview pane.
173 </p><dl>
174 <dt><i>pixmap</i> (QPixmap)</dt>
175 <dd>
176 pixmap to be shown
177 </dd>
178 </dl><a NAME="SiteInfoDialog.on_imagesTree_currentItemChanged" ID="SiteInfoDialog.on_imagesTree_currentItemChanged"></a>
179 <h4>SiteInfoDialog.on_imagesTree_currentItemChanged</h4>
180 <b>on_imagesTree_currentItemChanged</b>(<i>current, previous</i>)
181 <p>
182 Private slot to show a preview of the selected image.
183 </p><dl>
184 <dt><i>current</i></dt>
185 <dd>
186 current image entry (QTreeWidgetItem)
187 </dd><dt><i>previous</i></dt>
188 <dd>
189 old current entry (QTreeWidgetItem)
190 </dd>
191 </dl>
192 <div align="right"><a href="#top">Up</a></div>
193 <hr />
194 </body></html>

eric ide

mercurial