eric7/Preferences/ConfigurationDialog.py

branch
eric7
changeset 8875
67c3ea933787
parent 8599
057b32c17d3a
child 8876
2001accf55b3
--- a/eric7/Preferences/ConfigurationDialog.py	Tue Dec 28 19:10:38 2021 +0100
+++ b/eric7/Preferences/ConfigurationDialog.py	Wed Dec 29 16:38:32 2021 +0100
@@ -444,11 +444,30 @@
                 # The dialog module must have the module function 'create' to
                 # create the configuration page. This must have the method
                 # 'save' to save the settings.
+                "interfacePage":
+                [self.tr("Interface"), "preferences-interface",
+                 "WebBrowserInterfacePage", None, None],
                 "hexEditorPage":
                 [self.tr("Hex Editor"), "hexEditor",
                  "HexEditorPage", None, None],
             }
         
+        # TODO: add mode for Mini Editor
+        
+        else:
+            # display mode for generic use
+            self.configItems = {
+                # key : [display string, pixmap name, dialog module name or
+                #        page creation function, parent key,
+                #        reference to configuration page (must always be last)]
+                # The dialog module must have the module function 'create' to
+                # create the configuration page. This must have the method
+                # 'save' to save the settings.
+                "interfacePage":
+                [self.tr("Interface"), "preferences-interface",
+                 "WebBrowserInterfacePage", None, None],
+            }
+        
         # generate the list entries
         self.__expandedEntries = []
         for key in sorted(self.configItems.keys()):

eric ide

mercurial