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