src/eric7/WebBrowser/SafeBrowsing/SafeBrowsingDialog.ui

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8350
74a3b2a6a944
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>SafeBrowsingDialog</class>
4 <widget class="QDialog" name="SafeBrowsingDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>650</width>
10 <height>597</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Safe Browsing Management</string>
15 </property>
16 <property name="sizeGripEnabled">
17 <bool>true</bool>
18 </property>
19 <layout class="QVBoxLayout" name="verticalLayout_3">
20 <item>
21 <layout class="QHBoxLayout" name="horizontalLayout_3">
22 <item>
23 <spacer name="horizontalSpacer_3">
24 <property name="orientation">
25 <enum>Qt::Horizontal</enum>
26 </property>
27 <property name="sizeHint" stdset="0">
28 <size>
29 <width>40</width>
30 <height>20</height>
31 </size>
32 </property>
33 </spacer>
34 </item>
35 <item>
36 <widget class="QLabel" name="iconLabel">
37 <property name="minimumSize">
38 <size>
39 <width>48</width>
40 <height>48</height>
41 </size>
42 </property>
43 <property name="text">
44 <string notr="true">Icon</string>
45 </property>
46 </widget>
47 </item>
48 <item>
49 <widget class="QLabel" name="label_2">
50 <property name="text">
51 <string>&lt;h2&gt;Google Safe Browsing&lt;/h2&gt;</string>
52 </property>
53 </widget>
54 </item>
55 <item>
56 <spacer name="horizontalSpacer_4">
57 <property name="orientation">
58 <enum>Qt::Horizontal</enum>
59 </property>
60 <property name="sizeHint" stdset="0">
61 <size>
62 <width>40</width>
63 <height>20</height>
64 </size>
65 </property>
66 </spacer>
67 </item>
68 </layout>
69 </item>
70 <item>
71 <widget class="QGroupBox" name="gsbGroupBox">
72 <property name="toolTip">
73 <string>Select to enable the Google safe browsing support</string>
74 </property>
75 <property name="title">
76 <string>Enable Google Safe Browsing</string>
77 </property>
78 <property name="checkable">
79 <bool>true</bool>
80 </property>
81 <layout class="QVBoxLayout" name="verticalLayout_2">
82 <item>
83 <widget class="QCheckBox" name="gsbFilterPlatformCheckBox">
84 <property name="toolTip">
85 <string>Select to check against the current platform only</string>
86 </property>
87 <property name="text">
88 <string>Adjust threat lists to current platform</string>
89 </property>
90 </widget>
91 </item>
92 <item>
93 <widget class="QCheckBox" name="gsbAutoUpdateCheckBox">
94 <property name="toolTip">
95 <string>Select to update the threat lists automatically when fair use period has expired</string>
96 </property>
97 <property name="text">
98 <string>Update threat lists automatically (Update API only)</string>
99 </property>
100 </widget>
101 </item>
102 <item>
103 <widget class="QCheckBox" name="gsbLookupCheckBox">
104 <property name="text">
105 <string>Use 'Lookup API' (Note: each URL is sent to Google for checking)</string>
106 </property>
107 </widget>
108 </item>
109 <item>
110 <layout class="QHBoxLayout" name="horizontalLayout_4">
111 <item>
112 <widget class="QLabel" name="label_14">
113 <property name="text">
114 <string>API Key:</string>
115 </property>
116 </widget>
117 </item>
118 <item>
119 <widget class="QLineEdit" name="gsbApiKeyEdit">
120 <property name="toolTip">
121 <string>Enter the Google Safe Browsing API key</string>
122 </property>
123 <property name="clearButtonEnabled">
124 <bool>true</bool>
125 </property>
126 </widget>
127 </item>
128 </layout>
129 </item>
130 <item>
131 <widget class="QPushButton" name="gsbHelpButton">
132 <property name="toolTip">
133 <string>Press to get some help about obtaining the API key</string>
134 </property>
135 <property name="text">
136 <string>Google Safe Browsing API Help</string>
137 </property>
138 </widget>
139 </item>
140 </layout>
141 </widget>
142 </item>
143 <item>
144 <layout class="QHBoxLayout" name="horizontalLayout_2">
145 <item>
146 <spacer name="horizontalSpacer">
147 <property name="orientation">
148 <enum>Qt::Horizontal</enum>
149 </property>
150 <property name="sizeHint" stdset="0">
151 <size>
152 <width>40</width>
153 <height>20</height>
154 </size>
155 </property>
156 </spacer>
157 </item>
158 <item>
159 <widget class="QPushButton" name="saveButton">
160 <property name="toolTip">
161 <string>Press to save the current configuration settings</string>
162 </property>
163 <property name="text">
164 <string>Save Configuration</string>
165 </property>
166 </widget>
167 </item>
168 <item>
169 <spacer name="horizontalSpacer_2">
170 <property name="orientation">
171 <enum>Qt::Horizontal</enum>
172 </property>
173 <property name="sizeHint" stdset="0">
174 <size>
175 <width>40</width>
176 <height>20</height>
177 </size>
178 </property>
179 </spacer>
180 </item>
181 </layout>
182 </item>
183 <item>
184 <widget class="Line" name="line">
185 <property name="orientation">
186 <enum>Qt::Horizontal</enum>
187 </property>
188 </widget>
189 </item>
190 <item>
191 <widget class="QGroupBox" name="manageCacheGroupBox">
192 <property name="title">
193 <string>Manage Local Cache (Update API only)</string>
194 </property>
195 <layout class="QVBoxLayout" name="verticalLayout">
196 <item>
197 <layout class="QHBoxLayout" name="horizontalLayout">
198 <item>
199 <widget class="QPushButton" name="updateCacheButton">
200 <property name="toolTip">
201 <string>Press to update the local cache database</string>
202 </property>
203 <property name="text">
204 <string>Update Cache</string>
205 </property>
206 </widget>
207 </item>
208 <item>
209 <widget class="QPushButton" name="clearCacheButton">
210 <property name="toolTip">
211 <string>Press to clear the local cache database</string>
212 </property>
213 <property name="text">
214 <string>Clear Cache</string>
215 </property>
216 </widget>
217 </item>
218 <item>
219 <widget class="Line" name="line_3">
220 <property name="orientation">
221 <enum>Qt::Vertical</enum>
222 </property>
223 </widget>
224 </item>
225 <item>
226 <widget class="QPushButton" name="showUpdateTimeButton">
227 <property name="toolTip">
228 <string>Press to see, when the next threat list update will be done</string>
229 </property>
230 <property name="text">
231 <string>Show Update Time</string>
232 </property>
233 </widget>
234 </item>
235 </layout>
236 </item>
237 <item>
238 <widget class="QLabel" name="progressLabel">
239 <property name="text">
240 <string notr="true"/>
241 </property>
242 <property name="wordWrap">
243 <bool>true</bool>
244 </property>
245 </widget>
246 </item>
247 <item>
248 <widget class="QProgressBar" name="progressBar">
249 <property name="value">
250 <number>0</number>
251 </property>
252 <property name="format">
253 <string>%v/%m</string>
254 </property>
255 </widget>
256 </item>
257 </layout>
258 </widget>
259 </item>
260 <item>
261 <widget class="Line" name="line_2">
262 <property name="orientation">
263 <enum>Qt::Horizontal</enum>
264 </property>
265 </widget>
266 </item>
267 <item>
268 <widget class="QGroupBox" name="groupBox_2">
269 <property name="title">
270 <string>URL Check</string>
271 </property>
272 <layout class="QGridLayout" name="gridLayout_2">
273 <item row="0" column="0">
274 <widget class="QLabel" name="label">
275 <property name="text">
276 <string>URL:</string>
277 </property>
278 </widget>
279 </item>
280 <item row="0" column="1">
281 <widget class="QLineEdit" name="urlEdit">
282 <property name="clearButtonEnabled">
283 <bool>true</bool>
284 </property>
285 </widget>
286 </item>
287 <item row="1" column="0" colspan="2">
288 <widget class="QPushButton" name="urlCheckButton">
289 <property name="enabled">
290 <bool>false</bool>
291 </property>
292 <property name="toolTip">
293 <string>Press to check the entered URL</string>
294 </property>
295 <property name="text">
296 <string>Check URL</string>
297 </property>
298 </widget>
299 </item>
300 </layout>
301 </widget>
302 </item>
303 <item>
304 <widget class="QDialogButtonBox" name="buttonBox">
305 <property name="orientation">
306 <enum>Qt::Horizontal</enum>
307 </property>
308 <property name="standardButtons">
309 <set>QDialogButtonBox::Close</set>
310 </property>
311 </widget>
312 </item>
313 </layout>
314 </widget>
315 <tabstops>
316 <tabstop>gsbGroupBox</tabstop>
317 <tabstop>gsbFilterPlatformCheckBox</tabstop>
318 <tabstop>gsbAutoUpdateCheckBox</tabstop>
319 <tabstop>gsbLookupCheckBox</tabstop>
320 <tabstop>gsbApiKeyEdit</tabstop>
321 <tabstop>gsbHelpButton</tabstop>
322 <tabstop>saveButton</tabstop>
323 <tabstop>updateCacheButton</tabstop>
324 <tabstop>clearCacheButton</tabstop>
325 <tabstop>showUpdateTimeButton</tabstop>
326 <tabstop>urlEdit</tabstop>
327 <tabstop>urlCheckButton</tabstop>
328 </tabstops>
329 <resources/>
330 <connections>
331 <connection>
332 <sender>gsbLookupCheckBox</sender>
333 <signal>toggled(bool)</signal>
334 <receiver>manageCacheGroupBox</receiver>
335 <slot>setDisabled(bool)</slot>
336 <hints>
337 <hint type="sourcelabel">
338 <x>62</x>
339 <y>161</y>
340 </hint>
341 <hint type="destinationlabel">
342 <x>67</x>
343 <y>334</y>
344 </hint>
345 </hints>
346 </connection>
347 </connections>
348 </ui>

eric ide

mercurial