eric7/Preferences/ConfigurationDialog.py

branch
eric7
changeset 8875
67c3ea933787
parent 8599
057b32c17d3a
child 8876
2001accf55b3
equal deleted inserted replaced
8874:ccd99849803e 8875:67c3ea933787
442 # page creation function, parent key, 442 # page creation function, parent key,
443 # reference to configuration page (must always be last)] 443 # reference to configuration page (must always be last)]
444 # The dialog module must have the module function 'create' to 444 # The dialog module must have the module function 'create' to
445 # create the configuration page. This must have the method 445 # create the configuration page. This must have the method
446 # 'save' to save the settings. 446 # 'save' to save the settings.
447 "interfacePage":
448 [self.tr("Interface"), "preferences-interface",
449 "WebBrowserInterfacePage", None, None],
447 "hexEditorPage": 450 "hexEditorPage":
448 [self.tr("Hex Editor"), "hexEditor", 451 [self.tr("Hex Editor"), "hexEditor",
449 "HexEditorPage", None, None], 452 "HexEditorPage", None, None],
453 }
454
455 # TODO: add mode for Mini Editor
456
457 else:
458 # display mode for generic use
459 self.configItems = {
460 # key : [display string, pixmap name, dialog module name or
461 # page creation function, parent key,
462 # reference to configuration page (must always be last)]
463 # The dialog module must have the module function 'create' to
464 # create the configuration page. This must have the method
465 # 'save' to save the settings.
466 "interfacePage":
467 [self.tr("Interface"), "preferences-interface",
468 "WebBrowserInterfacePage", None, None],
450 } 469 }
451 470
452 # generate the list entries 471 # generate the list entries
453 self.__expandedEntries = [] 472 self.__expandedEntries = []
454 for key in sorted(self.configItems.keys()): 473 for key in sorted(self.configItems.keys()):

eric ide

mercurial