Log Viewer eric7

Sun, 14 Jan 2024 12:39:11 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 14 Jan 2024 12:39:11 +0100
branch
eric7
changeset 10500
40fc136e7002
parent 10499
71208bcc7d99
child 10501
234702836442

Log Viewer
- Added code to show an indicator for the log viewer icon, if new messages were added and the "Autoshow" option is deactivated.

docs/changelog.md file | annotate | diff | comparison | revisions
src/eric7/APIs/Python3/eric7.api file | annotate | diff | comparison | revisions
src/eric7/Documentation/Help/source.qch file | annotate | diff | comparison | revisions
src/eric7/Documentation/Help/source.qhp file | annotate | diff | comparison | revisions
src/eric7/Documentation/Source/eric7.EricWidgets.EricIconBar.html file | annotate | diff | comparison | revisions
src/eric7/Documentation/Source/eric7.EricWidgets.EricSideBar.html file | annotate | diff | comparison | revisions
src/eric7/Documentation/Source/eric7.UI.UserInterface.html file | annotate | diff | comparison | revisions
src/eric7/EricWidgets/EricIconBar.py file | annotate | diff | comparison | revisions
src/eric7/EricWidgets/EricSideBar.py file | annotate | diff | comparison | revisions
src/eric7/PluginManager/PluginRepositoryDialog.py file | annotate | diff | comparison | revisions
src/eric7/UI/UserInterface.py file | annotate | diff | comparison | revisions
src/eric7/icons/breeze-dark/logViewerNew.svg file | annotate | diff | comparison | revisions
src/eric7/icons/breeze-dark/sbLogViewerNew96.svg file | annotate | diff | comparison | revisions
src/eric7/icons/breeze-light/logViewerNew.svg file | annotate | diff | comparison | revisions
src/eric7/icons/breeze-light/sbLogViewerNew96.svg file | annotate | diff | comparison | revisions
src/eric7/icons/oxygen/logViewerNew.png file | annotate | diff | comparison | revisions
src/eric7/icons/oxygen/sbLogViewerNew96.svg file | annotate | diff | comparison | revisions
--- a/docs/changelog.md	Sat Jan 13 13:01:09 2024 +0100
+++ b/docs/changelog.md	Sun Jan 14 12:39:11 2024 +0100
@@ -16,6 +16,9 @@
 - Find In Files
     - Changed the filter entry to a filter selector with associated edit
       capability to define a list of filter entries.
+- Log Viewer
+    - Added code to show an indicator for the log viewer icon, if new messages
+      were added and the "Autoshow" option is deactivated.
 - Project Browser
     - Added the capability to show local variables of functions and methods.
 
--- a/src/eric7/APIs/Python3/eric7.api	Sat Jan 13 13:01:09 2024 +0100
+++ b/src/eric7/APIs/Python3/eric7.api	Sun Jan 14 12:39:11 2024 +0100
@@ -1422,6 +1422,7 @@
 eric7.EricWidgets.EricIconBar.EricIconBar.setBarSize?4(barSize)
 eric7.EricWidgets.EricIconBar.EricIconBar.setColor?4(color)
 eric7.EricWidgets.EricIconBar.EricIconBar.setCurrentIndex?4(index)
+eric7.EricWidgets.EricIconBar.EricIconBar.setIcon?4(index, icon)
 eric7.EricWidgets.EricIconBar.EricIconBar.setOrientation?4(orientation)
 eric7.EricWidgets.EricIconBar.EricIconBar.wheelEvent?4(evt)
 eric7.EricWidgets.EricIconBar.EricIconBar?1(orientation=Qt.Orientation.Horizontal, barSize=DefaultBarSize, parent=None)
@@ -1710,6 +1711,7 @@
 eric7.EricWidgets.EricSideBar.EricSideBar.barSize?4()
 eric7.EricWidgets.EricSideBar.EricSideBar.clear?4()
 eric7.EricWidgets.EricSideBar.EricSideBar.count?4()
+eric7.EricWidgets.EricSideBar.EricSideBar.currentChanged?7
 eric7.EricWidgets.EricSideBar.EricSideBar.currentIndex?4()
 eric7.EricWidgets.EricSideBar.EricSideBar.currentWidget?4()
 eric7.EricWidgets.EricSideBar.EricSideBar.iconBarColor?4()
@@ -1727,6 +1729,7 @@
 eric7.EricWidgets.EricSideBar.EricSideBar.setIconBarColor?4(color)
 eric7.EricWidgets.EricSideBar.EricSideBar.setIconBarSize?4(barSize)
 eric7.EricWidgets.EricSideBar.EricSideBar.setOrientation?4(orient)
+eric7.EricWidgets.EricSideBar.EricSideBar.setTabIcon?4(index, icon)
 eric7.EricWidgets.EricSideBar.EricSideBar.widget?4(index)
 eric7.EricWidgets.EricSideBar.EricSideBar?1(orientation=None, iconBarSize=EricIconBar.DefaultBarSize, parent=None)
 eric7.EricWidgets.EricSideBar.EricSideBarSide.EAST?7
Binary file src/eric7/Documentation/Help/source.qch has changed
--- a/src/eric7/Documentation/Help/source.qhp	Sat Jan 13 13:01:09 2024 +0100
+++ b/src/eric7/Documentation/Help/source.qhp	Sun Jan 14 12:39:11 2024 +0100
@@ -5563,6 +5563,7 @@
       <keyword name="EricIconBar.setBarSize" id="EricIconBar.setBarSize" ref="eric7.EricWidgets.EricIconBar.html#EricIconBar.setBarSize" />
       <keyword name="EricIconBar.setColor" id="EricIconBar.setColor" ref="eric7.EricWidgets.EricIconBar.html#EricIconBar.setColor" />
       <keyword name="EricIconBar.setCurrentIndex" id="EricIconBar.setCurrentIndex" ref="eric7.EricWidgets.EricIconBar.html#EricIconBar.setCurrentIndex" />
+      <keyword name="EricIconBar.setIcon" id="EricIconBar.setIcon" ref="eric7.EricWidgets.EricIconBar.html#EricIconBar.setIcon" />
       <keyword name="EricIconBar.setOrientation" id="EricIconBar.setOrientation" ref="eric7.EricWidgets.EricIconBar.html#EricIconBar.setOrientation" />
       <keyword name="EricIconBar.wheelEvent" id="EricIconBar.wheelEvent" ref="eric7.EricWidgets.EricIconBar.html#EricIconBar.wheelEvent" />
       <keyword name="EricJsonClient" id="EricJsonClient" ref="eric7.EricNetwork.EricJsonClient.html#EricJsonClient" />
@@ -5977,6 +5978,7 @@
       <keyword name="EricSideBar.setIconBarColor" id="EricSideBar.setIconBarColor" ref="eric7.EricWidgets.EricSideBar.html#EricSideBar.setIconBarColor" />
       <keyword name="EricSideBar.setIconBarSize" id="EricSideBar.setIconBarSize" ref="eric7.EricWidgets.EricSideBar.html#EricSideBar.setIconBarSize" />
       <keyword name="EricSideBar.setOrientation" id="EricSideBar.setOrientation" ref="eric7.EricWidgets.EricSideBar.html#EricSideBar.setOrientation" />
+      <keyword name="EricSideBar.setTabIcon" id="EricSideBar.setTabIcon" ref="eric7.EricWidgets.EricSideBar.html#EricSideBar.setTabIcon" />
       <keyword name="EricSideBar.widget" id="EricSideBar.widget" ref="eric7.EricWidgets.EricSideBar.html#EricSideBar.widget" />
       <keyword name="EricSideBarSide" id="EricSideBarSide" ref="eric7.EricWidgets.EricSideBar.html#EricSideBarSide" />
       <keyword name="EricSimpleHelpDialog" id="EricSimpleHelpDialog" ref="eric7.EricWidgets.EricSimpleHelpDialog.html#EricSimpleHelpDialog" />
@@ -17737,6 +17739,7 @@
       <keyword name="UserInterface.__activateViewProfile" id="UserInterface.__activateViewProfile" ref="eric7.UI.UserInterface.html#UserInterface.__activateViewProfile" />
       <keyword name="UserInterface.__activateViewmanager" id="UserInterface.__activateViewmanager" ref="eric7.UI.UserInterface.html#UserInterface.__activateViewmanager" />
       <keyword name="UserInterface.__assistant" id="UserInterface.__assistant" ref="eric7.UI.UserInterface.html#UserInterface.__assistant" />
+      <keyword name="UserInterface.__bottomSidebarCurrentChanged" id="UserInterface.__bottomSidebarCurrentChanged" ref="eric7.UI.UserInterface.html#UserInterface.__bottomSidebarCurrentChanged" />
       <keyword name="UserInterface.__checkActions" id="UserInterface.__checkActions" ref="eric7.UI.UserInterface.html#UserInterface.__checkActions" />
       <keyword name="UserInterface.__chmViewer" id="UserInterface.__chmViewer" ref="eric7.UI.UserInterface.html#UserInterface.__chmViewer" />
       <keyword name="UserInterface.__clearPrivateData" id="UserInterface.__clearPrivateData" ref="eric7.UI.UserInterface.html#UserInterface.__clearPrivateData" />
@@ -17765,6 +17768,7 @@
       <keyword name="UserInterface.__exportShortcuts" id="UserInterface.__exportShortcuts" ref="eric7.UI.UserInterface.html#UserInterface.__exportShortcuts" />
       <keyword name="UserInterface.__exportTheme" id="UserInterface.__exportTheme" ref="eric7.UI.UserInterface.html#UserInterface.__exportTheme" />
       <keyword name="UserInterface.__getFloatingGeometry" id="UserInterface.__getFloatingGeometry" ref="eric7.UI.UserInterface.html#UserInterface.__getFloatingGeometry" />
+      <keyword name="UserInterface.__hToolboxCurrentChanged" id="UserInterface.__hToolboxCurrentChanged" ref="eric7.UI.UserInterface.html#UserInterface.__hToolboxCurrentChanged" />
       <keyword name="UserInterface.__hasErrorLog" id="UserInterface.__hasErrorLog" ref="eric7.UI.UserInterface.html#UserInterface.__hasErrorLog" />
       <keyword name="UserInterface.__helpViewer" id="UserInterface.__helpViewer" ref="eric7.UI.UserInterface.html#UserInterface.__helpViewer" />
       <keyword name="UserInterface.__importPreferences" id="UserInterface.__importPreferences" ref="eric7.UI.UserInterface.html#UserInterface.__importPreferences" />
--- a/src/eric7/Documentation/Source/eric7.EricWidgets.EricIconBar.html	Sat Jan 13 13:01:09 2024 +0100
+++ b/src/eric7/Documentation/Source/eric7.EricWidgets.EricIconBar.html	Sun Jan 14 12:39:11 2024 +0100
@@ -160,6 +160,10 @@
 <td>Public method to set the current index.</td>
 </tr>
 <tr>
+<td><a href="#EricIconBar.setIcon">setIcon</a></td>
+<td>Public method to set the icon at the given index.</td>
+</tr>
+<tr>
 <td><a href="#EricIconBar.setOrientation">setOrientation</a></td>
 <td>Public method to set the widget orientation.</td>
 </tr>
@@ -498,6 +502,24 @@
 current index to be set
 </dd>
 </dl>
+<a NAME="EricIconBar.setIcon" ID="EricIconBar.setIcon"></a>
+<h4>EricIconBar.setIcon</h4>
+<b>setIcon</b>(<i>index, icon</i>)
+<p>
+        Public method to set the icon at the given index.
+</p>
+
+<dl>
+
+<dt><i>index</i> (int)</dt>
+<dd>
+icon index
+</dd>
+<dt><i>icon</i> (QIcon)</dt>
+<dd>
+reference to the icon
+</dd>
+</dl>
 <a NAME="EricIconBar.setOrientation" ID="EricIconBar.setOrientation"></a>
 <h4>EricIconBar.setOrientation</h4>
 <b>setOrientation</b>(<i>orientation</i>)
--- a/src/eric7/Documentation/Source/eric7.EricWidgets.EricSideBar.html	Sat Jan 13 13:01:09 2024 +0100
+++ b/src/eric7/Documentation/Source/eric7.EricWidgets.EricSideBar.html	Sun Jan 14 12:39:11 2024 +0100
@@ -42,6 +42,15 @@
     if the current tab is clicked again.
 </p>
 
+<h3>Signals</h3>
+<dl>
+
+<dt>currentChanged(index)</dt>
+<dd>
+emitted to indicate a change of the current
+        index
+</dd>
+</dl>
 <h3>Derived from</h3>
 QWidget
 <h3>Class Attributes</h3>
@@ -161,6 +170,10 @@
 <td>Public method to set the orientation of the sidebar.</td>
 </tr>
 <tr>
+<td><a href="#EricSideBar.setTabIcon">setTabIcon</a></td>
+<td>Public method to set the icon at the given index.</td>
+</tr>
+<tr>
 <td><a href="#EricSideBar.widget">widget</a></td>
 <td>Public method to get a reference to the widget associated with a tab.</td>
 </tr>
@@ -589,6 +602,24 @@
 orientation of the sidebar
 </dd>
 </dl>
+<a NAME="EricSideBar.setTabIcon" ID="EricSideBar.setTabIcon"></a>
+<h4>EricSideBar.setTabIcon</h4>
+<b>setTabIcon</b>(<i>index, icon</i>)
+<p>
+        Public method to set the icon at the given index.
+</p>
+
+<dl>
+
+<dt><i>index</i> (int)</dt>
+<dd>
+icon index
+</dd>
+<dt><i>icon</i> (QIcon)</dt>
+<dd>
+reference to the icon
+</dd>
+</dl>
 <a NAME="EricSideBar.widget" ID="EricSideBar.widget"></a>
 <h4>EricSideBar.widget</h4>
 <b>widget</b>(<i>index</i>)
--- a/src/eric7/Documentation/Source/eric7.UI.UserInterface.html	Sat Jan 13 13:01:09 2024 +0100
+++ b/src/eric7/Documentation/Source/eric7.UI.UserInterface.html	Sun Jan 14 12:39:11 2024 +0100
@@ -336,6 +336,10 @@
 <td>Private slot to start the Qt-Assistant executable.</td>
 </tr>
 <tr>
+<td><a href="#UserInterface.__bottomSidebarCurrentChanged">__bottomSidebarCurrentChanged</a></td>
+<td>Private slot handling a change of the current index of the Bottom Sidebar.</td>
+</tr>
+<tr>
 <td><a href="#UserInterface.__checkActions">__checkActions</a></td>
 <td>Private slot to check some actions for their enable/disable status.</td>
 </tr>
@@ -448,6 +452,10 @@
 <td>Private method to get the geometry of a floating windows.</td>
 </tr>
 <tr>
+<td><a href="#UserInterface.__hToolboxCurrentChanged">__hToolboxCurrentChanged</a></td>
+<td>Private slot handling a change of the current index of the Horizontal Toolbox.</td>
+</tr>
+<tr>
 <td><a href="#UserInterface.__hasErrorLog">__hasErrorLog</a></td>
 <td>Private method to check, if an error log file exists.</td>
 </tr>
@@ -1454,6 +1462,20 @@
 full pathname of a file to display
 </dd>
 </dl>
+<a NAME="UserInterface.__bottomSidebarCurrentChanged" ID="UserInterface.__bottomSidebarCurrentChanged"></a>
+<h4>UserInterface.__bottomSidebarCurrentChanged</h4>
+<b>__bottomSidebarCurrentChanged</b>(<i>index</i>)
+<p>
+        Private slot handling a change of the current index of the Bottom Sidebar.
+</p>
+
+<dl>
+
+<dt><i>index</i> (int)</dt>
+<dd>
+current index of the bottom sidebar
+</dd>
+</dl>
 <a NAME="UserInterface.__checkActions" ID="UserInterface.__checkActions"></a>
 <h4>UserInterface.__checkActions</h4>
 <b>__checkActions</b>(<i>editor</i>)
@@ -1765,6 +1787,20 @@
 list of [int, int, int, int, bool]
 </dd>
 </dl>
+<a NAME="UserInterface.__hToolboxCurrentChanged" ID="UserInterface.__hToolboxCurrentChanged"></a>
+<h4>UserInterface.__hToolboxCurrentChanged</h4>
+<b>__hToolboxCurrentChanged</b>(<i>index</i>)
+<p>
+        Private slot handling a change of the current index of the Horizontal Toolbox.
+</p>
+
+<dl>
+
+<dt><i>index</i> (int)</dt>
+<dd>
+current index of the horizontal toolbox
+</dd>
+</dl>
 <a NAME="UserInterface.__hasErrorLog" ID="UserInterface.__hasErrorLog"></a>
 <h4>UserInterface.__hasErrorLog</h4>
 <b>__hasErrorLog</b>(<i></i>)
--- a/src/eric7/EricWidgets/EricIconBar.py	Sat Jan 13 13:01:09 2024 +0100
+++ b/src/eric7/EricWidgets/EricIconBar.py	Sun Jan 14 12:39:11 2024 +0100
@@ -342,6 +342,19 @@
 
             self.__adjustIconLabels()
 
+    def setIcon(self, index, icon):
+        """
+        Public method to set the icon at the given index.
+
+        @param index icon index
+        @type int
+        @param icon reference to the icon
+        @type QIcon
+        """
+        labelItem = self.__layout.itemAt(index)
+        if labelItem:
+            labelItem.widget().setPixmap(icon.pixmap(self.__barSize, self.__barSize))
+
     @pyqtSlot()
     def __iconClicked(self, label):
         """
--- a/src/eric7/EricWidgets/EricSideBar.py	Sat Jan 13 13:01:09 2024 +0100
+++ b/src/eric7/EricWidgets/EricSideBar.py	Sun Jan 14 12:39:11 2024 +0100
@@ -10,7 +10,7 @@
 import enum
 import json
 
-from PyQt6.QtCore import QSize, Qt, pyqtSlot
+from PyQt6.QtCore import QSize, Qt, pyqtSignal, pyqtSlot
 from PyQt6.QtWidgets import QBoxLayout, QStackedWidget, QWidget
 
 from .EricIconBar import EricIconBar
@@ -31,10 +31,15 @@
     """
     Class implementing a sidebar with a widget area, that is hidden or shown,
     if the current tab is clicked again.
+
+    @signal currentChanged(index) emitted to indicate a change of the current
+        index
     """
 
     Version = 4
 
+    currentChanged = pyqtSignal(int)
+
     def __init__(
         self, orientation=None, iconBarSize=EricIconBar.DefaultBarSize, parent=None
     ):
@@ -148,6 +153,8 @@
         if self.isMinimized():
             self.__expandIt()
 
+        self.currentChanged.emit(index)
+
     def addTab(self, widget, icon, label=None):
         """
         Public method to add a tab to the sidebar.
@@ -201,6 +208,17 @@
         else:
             self.__minSize = self.minimumSizeHint().width()
 
+    def setTabIcon(self, index, icon):
+        """
+        Public method to set the icon at the given index.
+
+        @param index icon index
+        @type int
+        @param icon reference to the icon
+        @type QIcon
+        """
+        self.__iconBar.setIcon(index, icon)
+
     def clear(self):
         """
         Public method to remove all tabs.
--- a/src/eric7/PluginManager/PluginRepositoryDialog.py	Sat Jan 13 13:01:09 2024 +0100
+++ b/src/eric7/PluginManager/PluginRepositoryDialog.py	Sun Jan 14 12:39:11 2024 +0100
@@ -81,6 +81,7 @@
     Error = 4
 
 
+# TODO: add "Selected:" entry
 class PluginRepositoryWidget(QWidget, Ui_PluginRepositoryDialog):
     """
     Class implementing a dialog showing the available plugins.
--- a/src/eric7/UI/UserInterface.py	Sat Jan 13 13:01:09 2024 +0100
+++ b/src/eric7/UI/UserInterface.py	Sun Jan 14 12:39:11 2024 +0100
@@ -1087,6 +1087,7 @@
             self.hToolbox,
             self.tr("Horizontal Toolbox"),
         )
+        self.hToolbox.currentChanged.connect(self.__hToolboxCurrentChanged)
 
         # Create the right toolbox
         self.rToolboxDock = self.__createDockWindow("rToolboxDock")
@@ -1270,6 +1271,7 @@
             EricSideBarSide.SOUTH, Preferences.getUI("IconBarSize")
         )
         self.bottomSidebar.setIconBarColor(Preferences.getUI("IconBarColor"))
+        self.bottomSidebar.currentChanged.connect(self.__bottomSidebarCurrentChanged)
 
         # Create the right sidebar
         if Preferences.getUI("CombinedLeftRightSidebar"):
@@ -1556,6 +1558,17 @@
                 self.bottomSidebar.show()
                 self.bottomSidebar.setCurrentWidget(self.logViewer)
                 self.bottomSidebar.raise_()
+        else:
+            if self.__layoutType == "Toolboxes":
+                self.hToolbox.setTabIcon(
+                    self.hToolbox.indexOf(self.logViewer),
+                    EricPixmapCache.getIcon("logViewerNew"),
+                )
+            elif self.__layoutType == "Sidebars":
+                self.bottomSidebar.setTabIcon(
+                    self.bottomSidebar.indexOf(self.logViewer),
+                    EricPixmapCache.getIcon("sbLogViewerNew96"),
+                )
 
     def __openOnStartup(self, startupType=None):
         """
@@ -5595,9 +5608,17 @@
         if self.__layoutType == "Toolboxes":
             self.hToolboxDock.show()
             self.hToolbox.setCurrentWidget(self.logViewer)
+            self.hToolbox.setTabIcon(
+                self.hToolbox.currentIndex(),
+                EricPixmapCache.getIcon("logViewer"),
+            )
         elif self.__layoutType == "Sidebars":
             self.bottomSidebar.show()
             self.bottomSidebar.setCurrentWidget(self.logViewer)
+            self.bottomSidebar.setTabIcon(
+                self.bottomSidebar.currentIndex(),
+                EricPixmapCache.getIcon("sbLogViewer96"),
+            )
         self.logViewer.setFocus(Qt.FocusReason.ActiveWindowFocusReason)
 
     def __activateTaskViewer(self):
@@ -5680,6 +5701,17 @@
             if hasFocus:
                 self.__activateViewmanager()
 
+    @pyqtSlot(int)
+    def __hToolboxCurrentChanged(self, index):
+        """
+        Private slot handling a change of the current index of the Horizontal Toolbox.
+
+        @param index current index of the horizontal toolbox
+        @type int
+        """
+        if index == self.hToolbox.indexOf(self.logViewer):
+            self.hToolbox.setTabIcon(index, EricPixmapCache.getIcon("logViewer"))
+
     def __toggleLeftSidebar(self):
         """
         Private slot to handle the toggle of the left sidebar window.
@@ -5722,6 +5754,19 @@
             if hasFocus:
                 self.__activateViewmanager()
 
+    @pyqtSlot(int)
+    def __bottomSidebarCurrentChanged(self, index):
+        """
+        Private slot handling a change of the current index of the Bottom Sidebar.
+
+        @param index current index of the bottom sidebar
+        @type int
+        """
+        if index == self.bottomSidebar.indexOf(self.logViewer):
+            self.bottomSidebar.setTabIcon(
+                index, EricPixmapCache.getIcon("sbLogViewer96")
+            )
+
     def activateCooperationViewer(self):
         """
         Public slot to handle the activation of the cooperation window.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/icons/breeze-dark/logViewerNew.svg	Sun Jan 14 12:39:11 2024 +0100
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   version="1.1"
+   viewBox="0 0 22 22"
+   id="svg5839"
+   sodipodi:docname="logViewerNew.svg"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <defs
+     id="defs5843" />
+  <sodipodi:namedview
+     id="namedview5841"
+     pagecolor="#ffffff"
+     bordercolor="#000000"
+     borderopacity="0.25"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     showgrid="false"
+     inkscape:zoom="46.681818"
+     inkscape:cx="11.642648"
+     inkscape:cy="11.321324"
+     inkscape:window-width="2580"
+     inkscape:window-height="1262"
+     inkscape:window-x="447"
+     inkscape:window-y="98"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg5839" />
+  <linearGradient
+     id="c"
+     x1="386.57"
+     x2="386.57"
+     y1="527.13"
+     y2="504.91"
+     gradientTransform="matrix(.71429 0 0 .70714 -276.55 -352.47)"
+     gradientUnits="userSpaceOnUse">
+    <stop
+       stop-color="#1d1e1e"
+       offset="0"
+       id="stop5787" />
+    <stop
+       stop-color="#44484c"
+       offset="1"
+       id="stop5789" />
+  </linearGradient>
+  <linearGradient
+     id="d"
+     x1="-2"
+     x2="-2"
+     y1="30"
+     y2="2"
+     gradientTransform="matrix(.71429 0 0 .71429 -.42857 -.42857)"
+     gradientUnits="userSpaceOnUse">
+    <stop
+       stop-color="#c6cdd1"
+       offset="0"
+       id="stop5792" />
+    <stop
+       stop-color="#e0e5e7"
+       offset="1"
+       id="stop5794" />
+  </linearGradient>
+  <rect
+     x="1.9656"
+     y="1.9656"
+     width="18.069"
+     height="18.069"
+     fill="#232629"
+     stroke="#eff0f1"
+     stroke-width="1.9313"
+     id="rect5797" />
+  <g
+     transform="matrix(.8 0 0 .8 2.1835 2.2852)"
+     id="g5837">
+    <g
+       stroke-width=".71429"
+       id="g5827">
+      <path
+         d="m1 1v20h20v-20z"
+         fill="url(#d)"
+         id="path5799" />
+      <path
+         d="m1 4.5714h20v14.286h-20z"
+         fill="url(#c)"
+         id="path5801" />
+      <path
+         d="m1 1h20v2.8571h-20z"
+         fill="#566069"
+         id="path5803" />
+      <path
+         d="m1 3.8571h20v0.71429h-20z"
+         fill="#3daee9"
+         id="path5805" />
+      <rect
+         x="18.857"
+         y="1.7143"
+         width="1.4286"
+         height="1.4286"
+         rx=".71429"
+         fill="#eff0f1"
+         id="rect5807" />
+      <circle
+         cx="4.9286"
+         cy="14.929"
+         r="2.5"
+         fill="#eff0f1"
+         id="circle5809" />
+      <circle
+         cx="4.9286"
+         cy="14.929"
+         r="1.7857"
+         fill="#3daefd"
+         id="circle5811" />
+      <path
+         d="m8.8571 7.4286h1.4286v0.71429h-1.4286zm2.1429 0h2.1429v0.71429h-2.1429z"
+         fill="#da4453"
+         id="path5813" />
+      <path
+         d="m15.286 7.4286h2.1429v0.71429h-2.1429zm0 1.4286h4.2857v0.71429h-4.2857zm2.8571-1.4286h1.4286v0.71429h-1.4286z"
+         fill="#95a5a6"
+         id="path5815" />
+      <path
+         d="m8.8571 8.8571h2.8571v0.71429h-2.8571zm3.5714 0h1.4286v0.71429h-1.4286z"
+         fill="#bdc3c7"
+         id="path5817" />
+      <path
+         d="m8.8571 13.857h1.4286v0.71429h-1.4286zm2.1429 0h2.1429v0.71429h-2.1429z"
+         fill="#3daefd"
+         id="path5819" />
+      <path
+         d="m15.286 13.857h2.8571v0.71429h-2.8571z"
+         fill="#95a5a6"
+         id="path5821" />
+      <path
+         d="m8.8571 15.286h2.1429v0.71429h-2.1429z"
+         fill="#bdc3c7"
+         id="path5823" />
+      <path
+         d="m15.286 15.286h2.1429v0.71429h-2.1429zm2.8571 0h0.71429v0.71429h-0.71429zm0.71429-1.4286h0.71429v0.71429h-0.71429z"
+         fill="#95a5a6"
+         id="path5825" />
+    </g>
+    <g
+       transform="matrix(.71429 0 0 .71429 -.42857 -.42857)"
+       fill-rule="evenodd"
+       id="g5833">
+      <path
+         d="m7.5 8.92-3.501 1.467s0.416 1.902 0.867 3c0.225 0.551 0.5 1.121 0.889 1.617s0.965 0.99 1.745 0.99 1.354-0.494 1.743-0.99 0.664-1.066 0.889-1.617c0.451-1.102 0.869-3 0.869-3z"
+         fill="#eff0f1"
+         id="path5829" />
+      <path
+         d="m5 11 2.5-1 2.5 1s-0.928 4-2.5 4-2.5-4-2.5-4"
+         fill="#da4453"
+         id="path5831" />
+    </g>
+    <path
+       d="m1 20.286h20v0.71429h-20z"
+       fill="#99a1a7"
+       stroke-width=".71429"
+       id="path5835" />
+  </g>
+  <circle
+     style="fill:#ffcc00;fill-opacity:1;stroke:none;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:round;stroke-opacity:1"
+     id="path840"
+     cx="17"
+     cy="5"
+     r="4" />
+</svg>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/icons/breeze-dark/sbLogViewerNew96.svg	Sun Jan 14 12:39:11 2024 +0100
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   viewBox="0 0 96 96"
+   version="1.1"
+   id="svg6"
+   sodipodi:docname="sbLogViewerNew96.svg"
+   width="96"
+   height="96"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview8"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     showgrid="false"
+     inkscape:zoom="7.1590909"
+     inkscape:cx="40.996825"
+     inkscape:cy="54.266667"
+     inkscape:window-width="2580"
+     inkscape:window-height="1080"
+     inkscape:window-x="334"
+     inkscape:window-y="0"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg6"
+     inkscape:showpageshadow="2"
+     inkscape:deskcolor="#d1d1d1" />
+  <defs
+     id="defs3051">
+    <style
+       type="text/css"
+       id="current-color-scheme">
+      .ColorScheme-Text {
+        color:#eff0f1;
+      }
+      </style>
+  </defs>
+  <path
+     style="fill:currentColor;fill-opacity:1;stroke:none;stroke-width:5.24999"
+     d="m 6,6 v 5.25 H 90 V 6 Z m 0,10.5 v 5.25 H 53.25 V 16.5 Z m 0,21 v 5.25 H 90 V 37.5 Z M 6,48 v 5.25 H 58.5 V 48 Z m 0,21 v 5.25 H 90 V 69 Z m 0,10.5 v 5.25 H 74.25 V 79.5 Z m 73.5,5.25 V 90 H 90 v -5.25 z"
+     class="ColorScheme-Text"
+     id="path4" />
+  <circle
+     style="fill:#ffcc00;stroke:none;stroke-linecap:square;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1"
+     id="path840"
+     cx="76"
+     cy="20"
+     r="16" />
+</svg>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/icons/breeze-light/logViewerNew.svg	Sun Jan 14 12:39:11 2024 +0100
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   version="1.1"
+   viewBox="0 0 22 22"
+   id="svg5839"
+   sodipodi:docname="logViewerNew.svg"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <defs
+     id="defs5843" />
+  <sodipodi:namedview
+     id="namedview5841"
+     pagecolor="#ffffff"
+     bordercolor="#000000"
+     borderopacity="0.25"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     showgrid="false"
+     inkscape:zoom="46.681818"
+     inkscape:cx="11.642648"
+     inkscape:cy="11.321324"
+     inkscape:window-width="2580"
+     inkscape:window-height="1262"
+     inkscape:window-x="447"
+     inkscape:window-y="98"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg5839" />
+  <linearGradient
+     id="c"
+     x1="386.57"
+     x2="386.57"
+     y1="527.13"
+     y2="504.91"
+     gradientTransform="matrix(.71429 0 0 .70714 -276.55 -352.47)"
+     gradientUnits="userSpaceOnUse">
+    <stop
+       stop-color="#1d1e1e"
+       offset="0"
+       id="stop5787" />
+    <stop
+       stop-color="#44484c"
+       offset="1"
+       id="stop5789" />
+  </linearGradient>
+  <linearGradient
+     id="d"
+     x1="-2"
+     x2="-2"
+     y1="30"
+     y2="2"
+     gradientTransform="matrix(.71429 0 0 .71429 -.42857 -.42857)"
+     gradientUnits="userSpaceOnUse">
+    <stop
+       stop-color="#c6cdd1"
+       offset="0"
+       id="stop5792" />
+    <stop
+       stop-color="#e0e5e7"
+       offset="1"
+       id="stop5794" />
+  </linearGradient>
+  <rect
+     x="1.9656"
+     y="1.9656"
+     width="18.069"
+     height="18.069"
+     fill="#232629"
+     stroke="#eff0f1"
+     stroke-width="1.9313"
+     id="rect5797" />
+  <g
+     transform="matrix(.8 0 0 .8 2.1835 2.2852)"
+     id="g5837">
+    <g
+       stroke-width=".71429"
+       id="g5827">
+      <path
+         d="m1 1v20h20v-20z"
+         fill="url(#d)"
+         id="path5799" />
+      <path
+         d="m1 4.5714h20v14.286h-20z"
+         fill="url(#c)"
+         id="path5801" />
+      <path
+         d="m1 1h20v2.8571h-20z"
+         fill="#566069"
+         id="path5803" />
+      <path
+         d="m1 3.8571h20v0.71429h-20z"
+         fill="#3daee9"
+         id="path5805" />
+      <rect
+         x="18.857"
+         y="1.7143"
+         width="1.4286"
+         height="1.4286"
+         rx=".71429"
+         fill="#eff0f1"
+         id="rect5807" />
+      <circle
+         cx="4.9286"
+         cy="14.929"
+         r="2.5"
+         fill="#eff0f1"
+         id="circle5809" />
+      <circle
+         cx="4.9286"
+         cy="14.929"
+         r="1.7857"
+         fill="#3daefd"
+         id="circle5811" />
+      <path
+         d="m8.8571 7.4286h1.4286v0.71429h-1.4286zm2.1429 0h2.1429v0.71429h-2.1429z"
+         fill="#da4453"
+         id="path5813" />
+      <path
+         d="m15.286 7.4286h2.1429v0.71429h-2.1429zm0 1.4286h4.2857v0.71429h-4.2857zm2.8571-1.4286h1.4286v0.71429h-1.4286z"
+         fill="#95a5a6"
+         id="path5815" />
+      <path
+         d="m8.8571 8.8571h2.8571v0.71429h-2.8571zm3.5714 0h1.4286v0.71429h-1.4286z"
+         fill="#bdc3c7"
+         id="path5817" />
+      <path
+         d="m8.8571 13.857h1.4286v0.71429h-1.4286zm2.1429 0h2.1429v0.71429h-2.1429z"
+         fill="#3daefd"
+         id="path5819" />
+      <path
+         d="m15.286 13.857h2.8571v0.71429h-2.8571z"
+         fill="#95a5a6"
+         id="path5821" />
+      <path
+         d="m8.8571 15.286h2.1429v0.71429h-2.1429z"
+         fill="#bdc3c7"
+         id="path5823" />
+      <path
+         d="m15.286 15.286h2.1429v0.71429h-2.1429zm2.8571 0h0.71429v0.71429h-0.71429zm0.71429-1.4286h0.71429v0.71429h-0.71429z"
+         fill="#95a5a6"
+         id="path5825" />
+    </g>
+    <g
+       transform="matrix(.71429 0 0 .71429 -.42857 -.42857)"
+       fill-rule="evenodd"
+       id="g5833">
+      <path
+         d="m7.5 8.92-3.501 1.467s0.416 1.902 0.867 3c0.225 0.551 0.5 1.121 0.889 1.617s0.965 0.99 1.745 0.99 1.354-0.494 1.743-0.99 0.664-1.066 0.889-1.617c0.451-1.102 0.869-3 0.869-3z"
+         fill="#eff0f1"
+         id="path5829" />
+      <path
+         d="m5 11 2.5-1 2.5 1s-0.928 4-2.5 4-2.5-4-2.5-4"
+         fill="#da4453"
+         id="path5831" />
+    </g>
+    <path
+       d="m1 20.286h20v0.71429h-20z"
+       fill="#99a1a7"
+       stroke-width=".71429"
+       id="path5835" />
+  </g>
+  <circle
+     style="fill:#ffcc00;fill-opacity:1;stroke:none;stroke-width:0.25;stroke-linecap:square;stroke-linejoin:round;stroke-opacity:1"
+     id="path840"
+     cx="17"
+     cy="5"
+     r="4" />
+</svg>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/icons/breeze-light/sbLogViewerNew96.svg	Sun Jan 14 12:39:11 2024 +0100
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   viewBox="0 0 96 96"
+   version="1.1"
+   id="svg6"
+   sodipodi:docname="sbLogViewerNew96.svg"
+   width="96"
+   height="96"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview8"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     showgrid="false"
+     inkscape:zoom="7.1590909"
+     inkscape:cx="40.996825"
+     inkscape:cy="54.266667"
+     inkscape:window-width="2580"
+     inkscape:window-height="1080"
+     inkscape:window-x="334"
+     inkscape:window-y="0"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg6"
+     inkscape:showpageshadow="2"
+     inkscape:deskcolor="#d1d1d1" />
+  <defs
+     id="defs3051">
+    <style
+       type="text/css"
+       id="current-color-scheme">
+      .ColorScheme-Text {
+        color:#eff0f1;
+      }
+      </style>
+  </defs>
+  <path
+     style="fill:currentColor;fill-opacity:1;stroke:none;stroke-width:5.24999"
+     d="m 6,6 v 5.25 H 90 V 6 Z m 0,10.5 v 5.25 H 53.25 V 16.5 Z m 0,21 v 5.25 H 90 V 37.5 Z M 6,48 v 5.25 H 58.5 V 48 Z m 0,21 v 5.25 H 90 V 69 Z m 0,10.5 v 5.25 H 74.25 V 79.5 Z m 73.5,5.25 V 90 H 90 v -5.25 z"
+     class="ColorScheme-Text"
+     id="path4" />
+  <circle
+     style="fill:#ffcc00;stroke:none;stroke-linecap:square;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1"
+     id="path840"
+     cx="76"
+     cy="20"
+     r="16" />
+</svg>
Binary file src/eric7/icons/oxygen/logViewerNew.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/icons/oxygen/sbLogViewerNew96.svg	Sun Jan 14 12:39:11 2024 +0100
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   viewBox="0 0 96 96"
+   version="1.1"
+   id="svg6"
+   sodipodi:docname="sbLogViewerNew96.svg"
+   width="96"
+   height="96"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview8"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     showgrid="false"
+     inkscape:zoom="7.1590909"
+     inkscape:cx="40.996825"
+     inkscape:cy="54.266667"
+     inkscape:window-width="2580"
+     inkscape:window-height="1080"
+     inkscape:window-x="334"
+     inkscape:window-y="0"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg6"
+     inkscape:showpageshadow="2"
+     inkscape:deskcolor="#d1d1d1" />
+  <defs
+     id="defs3051">
+    <style
+       type="text/css"
+       id="current-color-scheme">
+      .ColorScheme-Text {
+        color:#eff0f1;
+      }
+      </style>
+  </defs>
+  <path
+     style="fill:currentColor;fill-opacity:1;stroke:none;stroke-width:5.24999"
+     d="m 6,6 v 5.25 H 90 V 6 Z m 0,10.5 v 5.25 H 53.25 V 16.5 Z m 0,21 v 5.25 H 90 V 37.5 Z M 6,48 v 5.25 H 58.5 V 48 Z m 0,21 v 5.25 H 90 V 69 Z m 0,10.5 v 5.25 H 74.25 V 79.5 Z m 73.5,5.25 V 90 H 90 v -5.25 z"
+     class="ColorScheme-Text"
+     id="path4" />
+  <circle
+     style="fill:#ffcc00;stroke:none;stroke-linecap:square;stroke-linejoin:round;stroke-opacity:1;fill-opacity:1"
+     id="path840"
+     cx="76"
+     cy="20"
+     r="16" />
+</svg>

eric ide

mercurial