Preferences/ConfigurationDialog.py

branch
QtWebEngine
changeset 4804
f794ff054d8f
parent 4798
ee1a24311b03
child 4805
8ef007140046
equal deleted inserted replaced
4801:71bdc520f640 4804:f794ff054d8f
390 }) 390 })
391 except ImportError: 391 except ImportError:
392 pass 392 pass
393 393
394 elif displayMode == ConfigurationWidget.WebBrowserMode: 394 elif displayMode == ConfigurationWidget.WebBrowserMode:
395 # TODO: Check config pages for QWebKit and add QWebEngine
396 self.configItems = { 395 self.configItems = {
397 # key : [display string, pixmap name, dialog module name or 396 # key : [display string, pixmap name, dialog module name or
398 # page creation function, parent key, 397 # page creation function, parent key,
399 # reference to configuration page (must always be last)] 398 # reference to configuration page (must always be last)]
400 # The dialog module must have the module function 'create' to 399 # The dialog module must have the module function 'create' to
401 # create the configuration page. This must have the method 400 # create the configuration page. This must have the method
402 # 'save' to save the settings. 401 # 'save' to save the settings.
402 "interfacePage":
403 [self.tr("Interface"), "preferences-interface.png",
404 "HelpInterfacePage", None, None],
403 "networkPage": 405 "networkPage":
404 [self.tr("Network"), "preferences-network.png", 406 [self.tr("Network"), "preferences-network.png",
405 "NetworkPage", None, None], 407 "NetworkPage", None, None],
406 "printerPage": 408 "printerPage":
407 [self.tr("Printer"), "preferences-printer.png", 409 [self.tr("Printer"), "preferences-printer.png",
408 "PrinterPage", None, None], 410 "PrinterPage", None, None],
409 "securityPage": 411 "securityPage":
410 [self.tr("Security"), "preferences-security.png", 412 [self.tr("Security"), "preferences-security.png",
411 "SecurityPage", None, None], 413 "SecurityPage", None, None],
412 414
415 # TODO: QtHelp
416 ## "helpDocumentationPage":
417 ## [self.tr("Help Documentation"),
418 ## "preferences-helpdocumentation.png",
419 ## "HelpDocumentationPage", None, None],
420
421 "webBrowserAppearancePage":
422 [self.tr("Appearance"), "preferences-styles.png",
423 "WebBrowserAppearancePage", None, None],
413 "helpFlashCookieManagerPage": 424 "helpFlashCookieManagerPage":
414 [self.tr("Flash Cookie Manager"), 425 [self.tr("Flash Cookie Manager"),
415 "flashCookie16.png", 426 "flashCookie16.png",
416 "HelpFlashCookieManagerPage", None, None], 427 "HelpFlashCookieManagerPage", None, None],
417 "helpVirusTotalPage": 428 "helpVirusTotalPage":

eric ide

mercurial