src/eric7/HelpViewer/HelpViewerWidget.py

branch
eric7
changeset 11216
a1471981ef18
parent 11215
d07c71a34adf
equal deleted inserted replaced
11215:d07c71a34adf 11216:a1471981ef18
447 self.__helpSelector.addItem("", "") 447 self.__helpSelector.addItem("", "")
448 448
449 for key, topic in [ 449 for key, topic in [
450 ("EricDocDir", self.tr("eric API Documentation")), 450 ("EricDocDir", self.tr("eric API Documentation")),
451 ("PythonDocDir", self.tr("Python 3 Documentation")), 451 ("PythonDocDir", self.tr("Python 3 Documentation")),
452 ("Qt5DocDir", self.tr("Qt5 Documentation")),
453 ("Qt6DocDir", self.tr("Qt6 Documentation")), 452 ("Qt6DocDir", self.tr("Qt6 Documentation")),
454 ("PyQt5DocDir", self.tr("PyQt5 Documentation")),
455 ("PyQt6DocDir", self.tr("PyQt6 Documentation")), 453 ("PyQt6DocDir", self.tr("PyQt6 Documentation")),
456 ("PySide2DocDir", self.tr("PySide2 Documentation")),
457 ("PySide6DocDir", self.tr("PySide6 Documentation")), 454 ("PySide6DocDir", self.tr("PySide6 Documentation")),
458 ]: 455 ]:
459 urlStr = Preferences.getHelp(key) 456 urlStr = Preferences.getHelp(key)
460 if urlStr: 457 if urlStr:
461 self.__helpSelector.addItem(topic, urlStr) 458 self.__helpSelector.addItem(topic, urlStr)

eric ide

mercurial