Added a few TODO markers. eric7

Sun, 17 Oct 2021 16:00:54 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 17 Oct 2021 16:00:54 +0200
branch
eric7
changeset 8697
936662560d04
parent 8696
7e88f292b1b1
child 8698
b108ff4d845c

Added a few TODO markers.

eric7/HelpViewer/HelpViewerImplQTB.py file | annotate | diff | comparison | revisions
eric7/Preferences/ConfigurationPages/HelpViewersPage.py file | annotate | diff | comparison | revisions
eric7/Preferences/__init__.py file | annotate | diff | comparison | revisions
eric7/UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/eric7/HelpViewer/HelpViewerImplQTB.py	Sun Oct 17 15:26:31 2021 +0200
+++ b/eric7/HelpViewer/HelpViewerImplQTB.py	Sun Oct 17 16:00:54 2021 +0200
@@ -426,8 +426,6 @@
                 self.setScale(zoom)
             evt.accept()
     
-    # TODO: add Ctrl+LMB action (open link in new page)
-    
     #######################################################################
     ## Context menu related methods below
     #######################################################################
--- a/eric7/Preferences/ConfigurationPages/HelpViewersPage.py	Sun Oct 17 15:26:31 2021 +0200
+++ b/eric7/Preferences/ConfigurationPages/HelpViewersPage.py	Sun Oct 17 16:00:54 2021 +0200
@@ -44,6 +44,7 @@
         if webBrowserVariant == "QtWebEngine":
             hvId = Preferences.getWebBrowser("HelpViewerType")
         else:
+            # TODO: change default to internal viewer (= 0)
             hvId = 3
             self.helpBrowserButton.setEnabled(False)
         
--- a/eric7/Preferences/__init__.py	Sun Oct 17 15:26:31 2021 +0200
+++ b/eric7/Preferences/__init__.py	Sun Oct 17 16:00:54 2021 +0200
@@ -1042,6 +1042,8 @@
         "SafeBrowsingUpdateDateTime": QDateTime(),
         "SafeBrowsingUseLookupApi": False,
     }
+    # TODO: change default to internal help viewer (= 0) and move to
+    #       helpDefaults
     if QWebEngineSettings:
         webBrowserDefaults["HelpViewerType"] = 1      # eric browser
     else:
--- a/eric7/UI/UserInterface.py	Sun Oct 17 15:26:31 2021 +0200
+++ b/eric7/UI/UserInterface.py	Sun Oct 17 16:00:54 2021 +0200
@@ -5899,6 +5899,7 @@
         if home.endswith(".chm"):
             self.__chmViewer(home)
         else:
+            # TODO: add logic for internal help viewer (= 0)
             hvType = Preferences.getWebBrowser("HelpViewerType")
             if hvType == 1:
                 self.launchHelpViewer(home)
@@ -5953,6 +5954,7 @@
             else:
                 home = "file://" + home
         
+        # TODO: add logic for internal help viewer (= 0)
         hvType = Preferences.getWebBrowser("HelpViewerType")
         if hvType == 1:
             self.launchHelpViewer(home)
@@ -6021,6 +6023,7 @@
         else:
             home = pyqtDocDir
         
+        # TODO: add logic for internal help viewer (= 0)
         hvType = Preferences.getWebBrowser("HelpViewerType")
         if hvType == 1:
             self.launchHelpViewer(home)
@@ -6058,6 +6061,7 @@
             else:
                 home = "file://" + home
         
+        # TODO: add logic for internal help viewer (= 0)
         hvType = Preferences.getWebBrowser("HelpViewerType")
         if hvType == 1:
             self.launchHelpViewer(home)
@@ -6116,6 +6120,7 @@
         else:
             home = pysideDocDir
         
+        # TODO: add logic for internal help viewer (= 0)
         hvType = Preferences.getWebBrowser("HelpViewerType")
         if hvType == 1:
             self.launchHelpViewer(home)

eric ide

mercurial