|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Preferences.ConfigurationPages.WebBrowserVirusTotalPage</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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Preferences.ConfigurationPages.WebBrowserVirusTotalPage</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing VirusTotal configuration page (web browser variant). |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#WebBrowserVirusTotalPage">WebBrowserVirusTotalPage</a></td> |
|
39 <td>Class implementing VirusTotal configuration page (web browser variant).</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 |
|
46 <tr> |
|
47 <td><a href="#create">create</a></td> |
|
48 <td>Module function to create the configuration page.</td> |
|
49 </tr> |
|
50 </table> |
|
51 <hr /> |
|
52 <hr /> |
|
53 <a NAME="WebBrowserVirusTotalPage" ID="WebBrowserVirusTotalPage"></a> |
|
54 <h2>WebBrowserVirusTotalPage</h2> |
|
55 |
|
56 <p> |
|
57 Class implementing VirusTotal configuration page (web browser variant). |
|
58 </p> |
|
59 <h3>Derived from</h3> |
|
60 ConfigurationPageBase, Ui_WebBrowserVirusTotalPage |
|
61 <h3>Class Attributes</h3> |
|
62 |
|
63 <table> |
|
64 <tr><td>None</td></tr> |
|
65 </table> |
|
66 <h3>Class Methods</h3> |
|
67 |
|
68 <table> |
|
69 <tr><td>None</td></tr> |
|
70 </table> |
|
71 <h3>Methods</h3> |
|
72 |
|
73 <table> |
|
74 |
|
75 <tr> |
|
76 <td><a href="#WebBrowserVirusTotalPage.__init__">WebBrowserVirusTotalPage</a></td> |
|
77 <td>Constructor</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#WebBrowserVirusTotalPage.__checkServiceKeyFinished">__checkServiceKeyFinished</a></td> |
|
81 <td>Private slot to receive the result of the service key check.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#WebBrowserVirusTotalPage.on_testButton_clicked">on_testButton_clicked</a></td> |
|
85 <td>Private slot to test the entered service key.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#WebBrowserVirusTotalPage.on_vtServiceKeyEdit_textChanged">on_vtServiceKeyEdit_textChanged</a></td> |
|
89 <td>Private slot to handle changes of the service key.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#WebBrowserVirusTotalPage.save">save</a></td> |
|
93 <td>Public slot to save the VirusTotal configuration.</td> |
|
94 </tr> |
|
95 </table> |
|
96 <h3>Static Methods</h3> |
|
97 |
|
98 <table> |
|
99 <tr><td>None</td></tr> |
|
100 </table> |
|
101 |
|
102 <a NAME="WebBrowserVirusTotalPage.__init__" ID="WebBrowserVirusTotalPage.__init__"></a> |
|
103 <h4>WebBrowserVirusTotalPage (Constructor)</h4> |
|
104 <b>WebBrowserVirusTotalPage</b>(<i></i>) |
|
105 |
|
106 <p> |
|
107 Constructor |
|
108 </p> |
|
109 <a NAME="WebBrowserVirusTotalPage.__checkServiceKeyFinished" ID="WebBrowserVirusTotalPage.__checkServiceKeyFinished"></a> |
|
110 <h4>WebBrowserVirusTotalPage.__checkServiceKeyFinished</h4> |
|
111 <b>__checkServiceKeyFinished</b>(<i>result, msg</i>) |
|
112 |
|
113 <p> |
|
114 Private slot to receive the result of the service key check. |
|
115 </p> |
|
116 <dl> |
|
117 |
|
118 <dt><i>result</i></dt> |
|
119 <dd> |
|
120 flag indicating a successful check (boolean) |
|
121 </dd> |
|
122 <dt><i>msg</i></dt> |
|
123 <dd> |
|
124 network error message (str) |
|
125 </dd> |
|
126 </dl> |
|
127 <a NAME="WebBrowserVirusTotalPage.on_testButton_clicked" ID="WebBrowserVirusTotalPage.on_testButton_clicked"></a> |
|
128 <h4>WebBrowserVirusTotalPage.on_testButton_clicked</h4> |
|
129 <b>on_testButton_clicked</b>(<i></i>) |
|
130 |
|
131 <p> |
|
132 Private slot to test the entered service key. |
|
133 </p> |
|
134 <a NAME="WebBrowserVirusTotalPage.on_vtServiceKeyEdit_textChanged" ID="WebBrowserVirusTotalPage.on_vtServiceKeyEdit_textChanged"></a> |
|
135 <h4>WebBrowserVirusTotalPage.on_vtServiceKeyEdit_textChanged</h4> |
|
136 <b>on_vtServiceKeyEdit_textChanged</b>(<i>txt</i>) |
|
137 |
|
138 <p> |
|
139 Private slot to handle changes of the service key. |
|
140 </p> |
|
141 <dl> |
|
142 |
|
143 <dt><i>txt</i></dt> |
|
144 <dd> |
|
145 entered service key (string) |
|
146 </dd> |
|
147 </dl> |
|
148 <a NAME="WebBrowserVirusTotalPage.save" ID="WebBrowserVirusTotalPage.save"></a> |
|
149 <h4>WebBrowserVirusTotalPage.save</h4> |
|
150 <b>save</b>(<i></i>) |
|
151 |
|
152 <p> |
|
153 Public slot to save the VirusTotal configuration. |
|
154 </p> |
|
155 <div align="right"><a href="#top">Up</a></div> |
|
156 <hr /> |
|
157 <hr /> |
|
158 <a NAME="create" ID="create"></a> |
|
159 <h2>create</h2> |
|
160 <b>create</b>(<i>dlg</i>) |
|
161 |
|
162 <p> |
|
163 Module function to create the configuration page. |
|
164 </p> |
|
165 <dl> |
|
166 |
|
167 <dt><i>dlg</i></dt> |
|
168 <dd> |
|
169 reference to the configuration dialog |
|
170 </dd> |
|
171 </dl> |
|
172 <dl> |
|
173 <dt>Return:</dt> |
|
174 <dd> |
|
175 reference to the instantiated page (ConfigurationPageBase) |
|
176 </dd> |
|
177 </dl> |
|
178 <div align="right"><a href="#top">Up</a></div> |
|
179 <hr /> |
|
180 </body></html> |