252 self, |
252 self, |
253 self.trUtf8("Add allowed host"), |
253 self.trUtf8("Add allowed host"), |
254 self.trUtf8( |
254 self.trUtf8( |
255 """<p>The entered address <b>{0}</b> is not""" |
255 """<p>The entered address <b>{0}</b> is not""" |
256 """ a valid IP v4 or IP v6 address.""" |
256 """ a valid IP v4 or IP v6 address.""" |
257 """ Aborting...</p>""")\ |
257 """ Aborting...</p>""") |
258 .format(allowedHost)) |
258 .format(allowedHost)) |
259 |
259 |
260 @pyqtSlot() |
260 @pyqtSlot() |
261 def on_deleteAllowedHostButton_clicked(self): |
261 def on_deleteAllowedHostButton_clicked(self): |
262 """ |
262 """ |
263 Private slot called to delete an allowed host. |
263 Private slot called to delete an allowed host. |
285 self, |
285 self, |
286 self.trUtf8("Edit allowed host"), |
286 self.trUtf8("Edit allowed host"), |
287 self.trUtf8( |
287 self.trUtf8( |
288 """<p>The entered address <b>{0}</b> is not""" |
288 """<p>The entered address <b>{0}</b> is not""" |
289 """ a valid IP v4 or IP v6 address.""" |
289 """ a valid IP v4 or IP v6 address.""" |
290 """ Aborting...</p>""")\ |
290 """ Aborting...</p>""") |
291 .format(allowedHost)) |
291 .format(allowedHost)) |
292 |
292 |
293 |
293 |
294 def create(dlg): |
294 def create(dlg): |
295 """ |
295 """ |
296 Module function to create the configuration page. |
296 Module function to create the configuration page. |