|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Helpviewer.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.Helpviewer.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.__imagesTreeContextMenuRequested">__imagesTreeContextMenuRequested</a></td> |
|
67 <td>Private slot to show a context menu for the images list.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SiteInfoDialog.__saveImage">__saveImage</a></td> |
|
70 <td>Private slot to save the selected image to disk.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SiteInfoDialog.on_databasesList_currentItemChanged">on_databasesList_currentItemChanged</a></td> |
|
73 <td>Private slot to show data about the selected database.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SiteInfoDialog.on_imagesTree_currentItemChanged">on_imagesTree_currentItemChanged</a></td> |
|
76 <td>Private slot to show a preview of the selected image.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#SiteInfoDialog.on_securityDetailsButton_clicked">on_securityDetailsButton_clicked</a></td> |
|
79 <td>Private slot to show security details.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <h3>Static Methods</h3> |
|
83 <table> |
|
84 <tr><td>None</td></tr> |
|
85 </table> |
|
86 <a NAME="SiteInfoDialog.__init__" ID="SiteInfoDialog.__init__"></a> |
|
87 <h4>SiteInfoDialog (Constructor)</h4> |
|
88 <b>SiteInfoDialog</b>(<i>browser, parent=None</i>) |
|
89 <p> |
|
90 Constructor |
|
91 </p><dl> |
|
92 <dt><i>browser</i></dt> |
|
93 <dd> |
|
94 reference to the browser window (HelpBrowser) |
|
95 </dd><dt><i>parent</i></dt> |
|
96 <dd> |
|
97 reference to the parent widget (QWidget) |
|
98 </dd> |
|
99 </dl><a NAME="SiteInfoDialog.__copyAction" ID="SiteInfoDialog.__copyAction"></a> |
|
100 <h4>SiteInfoDialog.__copyAction</h4> |
|
101 <b>__copyAction</b>(<i>act</i>) |
|
102 <p> |
|
103 Private slot to copy the image URL or the image name to the clipboard. |
|
104 </p><dl> |
|
105 <dt><i>act</i> (QAction)</dt> |
|
106 <dd> |
|
107 reference to the action that triggered |
|
108 </dd> |
|
109 </dl><a NAME="SiteInfoDialog.__imagesTreeContextMenuRequested" ID="SiteInfoDialog.__imagesTreeContextMenuRequested"></a> |
|
110 <h4>SiteInfoDialog.__imagesTreeContextMenuRequested</h4> |
|
111 <b>__imagesTreeContextMenuRequested</b>(<i>pos</i>) |
|
112 <p> |
|
113 Private slot to show a context menu for the images list. |
|
114 </p><dl> |
|
115 <dt><i>pos</i></dt> |
|
116 <dd> |
|
117 position for the menu (QPoint) |
|
118 </dd> |
|
119 </dl><a NAME="SiteInfoDialog.__saveImage" ID="SiteInfoDialog.__saveImage"></a> |
|
120 <h4>SiteInfoDialog.__saveImage</h4> |
|
121 <b>__saveImage</b>(<i>act</i>) |
|
122 <p> |
|
123 Private slot to save the selected image to disk. |
|
124 </p><dl> |
|
125 <dt><i>act</i> (QAction)</dt> |
|
126 <dd> |
|
127 reference to the action that triggered |
|
128 </dd> |
|
129 </dl><a NAME="SiteInfoDialog.on_databasesList_currentItemChanged" ID="SiteInfoDialog.on_databasesList_currentItemChanged"></a> |
|
130 <h4>SiteInfoDialog.on_databasesList_currentItemChanged</h4> |
|
131 <b>on_databasesList_currentItemChanged</b>(<i>current, previous</i>) |
|
132 <p> |
|
133 Private slot to show data about the selected database. |
|
134 </p><dl> |
|
135 <dt><i>current</i></dt> |
|
136 <dd> |
|
137 current database entry (QTreeWidgetItem) |
|
138 </dd><dt><i>previous</i></dt> |
|
139 <dd> |
|
140 old current entry (QTreeWidgetItem) |
|
141 </dd> |
|
142 </dl><a NAME="SiteInfoDialog.on_imagesTree_currentItemChanged" ID="SiteInfoDialog.on_imagesTree_currentItemChanged"></a> |
|
143 <h4>SiteInfoDialog.on_imagesTree_currentItemChanged</h4> |
|
144 <b>on_imagesTree_currentItemChanged</b>(<i>current, previous</i>) |
|
145 <p> |
|
146 Private slot to show a preview of the selected image. |
|
147 </p><dl> |
|
148 <dt><i>current</i></dt> |
|
149 <dd> |
|
150 current image entry (QTreeWidgetItem) |
|
151 </dd><dt><i>previous</i></dt> |
|
152 <dd> |
|
153 old current entry (QTreeWidgetItem) |
|
154 </dd> |
|
155 </dl><a NAME="SiteInfoDialog.on_securityDetailsButton_clicked" ID="SiteInfoDialog.on_securityDetailsButton_clicked"></a> |
|
156 <h4>SiteInfoDialog.on_securityDetailsButton_clicked</h4> |
|
157 <b>on_securityDetailsButton_clicked</b>(<i></i>) |
|
158 <p> |
|
159 Private slot to show security details. |
|
160 </p> |
|
161 <div align="right"><a href="#top">Up</a></div> |
|
162 <hr /> |
|
163 </body></html> |