--- a/src/eric7/Preferences/ConfigurationDialog.py Sun May 28 18:04:11 2023 +0200 +++ b/src/eric7/Preferences/ConfigurationDialog.py Mon May 29 16:18:38 2023 +0200 @@ -84,6 +84,7 @@ WEBBROWSERMODE = 3 EDITORMODE = 4 PDFVIEWERMODE = 5 + PIPMANAGERMODE = 6 class ConfigurationWidget(QWidget): @@ -901,6 +902,37 @@ ], } + elif displayMode == ConfigurationMode.PIPMANAGERMODE: + 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. + "iconsPage": [ + self.tr("Icons"), + "preferences-icons", + "IconsPage", + None, + None, + ], + "interfacePage": [ + self.tr("Interface"), + "preferences-interface", + "InterfaceLightPage", + None, + None, + ], + "pipPage": [ + self.tr("Python Package Management"), + "pypi", + "PipPage", + None, + None, + ], + } + else: # display mode for generic use self.configItems = {