|
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.SiteInfo.SiteInfoDialog</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.SiteInfo.SiteInfoDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to show some information about a site. |
|
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="#SiteInfoDialog">SiteInfoDialog</a></td> |
|
35 <td>Class implementing a dialog to show some information about a site.</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="SiteInfoDialog" ID="SiteInfoDialog"></a> |
|
44 <h2>SiteInfoDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to show some information about a site. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_SiteInfoDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>nokStyle</td></tr><tr><td>okStyle</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="#SiteInfoDialog.__init__">SiteInfoDialog</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr><tr> |
|
64 <td><a href="#SiteInfoDialog.__copyAction">__copyAction</a></td> |
|
65 <td>Private slot to copy the image URL or the image name to the clipboard.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#SiteInfoDialog.__imagesTreeContextMenuRequested">__imagesTreeContextMenuRequested</a></td> |
|
68 <td>Private slot to show a context menu for the images list.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#SiteInfoDialog.__saveImage">__saveImage</a></td> |
|
71 <td>Private slot to save the selected image to disk.</td> |
|
72 </tr><tr> |
|
73 <td><a href="#SiteInfoDialog.on_imagesTree_currentItemChanged">on_imagesTree_currentItemChanged</a></td> |
|
74 <td>Private slot to show a preview of the selected image.</td> |
|
75 </tr><tr> |
|
76 <td><a href="#SiteInfoDialog.on_securityDetailsButton_clicked">on_securityDetailsButton_clicked</a></td> |
|
77 <td>Private slot to show security details.</td> |
|
78 </tr> |
|
79 </table> |
|
80 <h3>Static Methods</h3> |
|
81 <table> |
|
82 <tr><td>None</td></tr> |
|
83 </table> |
|
84 <a NAME="SiteInfoDialog.__init__" ID="SiteInfoDialog.__init__"></a> |
|
85 <h4>SiteInfoDialog (Constructor)</h4> |
|
86 <b>SiteInfoDialog</b>(<i>browser, parent=None</i>) |
|
87 <p> |
|
88 Constructor |
|
89 </p><dl> |
|
90 <dt><i>browser</i></dt> |
|
91 <dd> |
|
92 reference to the browser window (HelpBrowser) |
|
93 </dd><dt><i>parent</i></dt> |
|
94 <dd> |
|
95 reference to the parent widget (QWidget) |
|
96 </dd> |
|
97 </dl><a NAME="SiteInfoDialog.__copyAction" ID="SiteInfoDialog.__copyAction"></a> |
|
98 <h4>SiteInfoDialog.__copyAction</h4> |
|
99 <b>__copyAction</b>(<i></i>) |
|
100 <p> |
|
101 Private slot to copy the image URL or the image name to the clipboard. |
|
102 </p><a NAME="SiteInfoDialog.__imagesTreeContextMenuRequested" ID="SiteInfoDialog.__imagesTreeContextMenuRequested"></a> |
|
103 <h4>SiteInfoDialog.__imagesTreeContextMenuRequested</h4> |
|
104 <b>__imagesTreeContextMenuRequested</b>(<i>pos</i>) |
|
105 <p> |
|
106 Private slot to show a context menu for the images list. |
|
107 </p><dl> |
|
108 <dt><i>pos</i></dt> |
|
109 <dd> |
|
110 position for the menu (QPoint) |
|
111 </dd> |
|
112 </dl><a NAME="SiteInfoDialog.__saveImage" ID="SiteInfoDialog.__saveImage"></a> |
|
113 <h4>SiteInfoDialog.__saveImage</h4> |
|
114 <b>__saveImage</b>(<i></i>) |
|
115 <p> |
|
116 Private slot to save the selected image to disk. |
|
117 </p><a NAME="SiteInfoDialog.on_imagesTree_currentItemChanged" ID="SiteInfoDialog.on_imagesTree_currentItemChanged"></a> |
|
118 <h4>SiteInfoDialog.on_imagesTree_currentItemChanged</h4> |
|
119 <b>on_imagesTree_currentItemChanged</b>(<i>current, previous</i>) |
|
120 <p> |
|
121 Private slot to show a preview of the selected image. |
|
122 </p><dl> |
|
123 <dt><i>current</i></dt> |
|
124 <dd> |
|
125 current image entry (QTreeWidgetItem) |
|
126 </dd><dt><i>previous</i></dt> |
|
127 <dd> |
|
128 old current entry (QTreeWidgetItem) |
|
129 </dd> |
|
130 </dl><a NAME="SiteInfoDialog.on_securityDetailsButton_clicked" ID="SiteInfoDialog.on_securityDetailsButton_clicked"></a> |
|
131 <h4>SiteInfoDialog.on_securityDetailsButton_clicked</h4> |
|
132 <b>on_securityDetailsButton_clicked</b>(<i></i>) |
|
133 <p> |
|
134 Private slot to show security details. |
|
135 </p> |
|
136 <div align="right"><a href="#top">Up</a></div> |
|
137 <hr /> |
|
138 </body></html> |