UI/LogView.py

changeset 3012
d177226027e2
parent 2965
d133c7edd88a
child 3057
10516539f238
child 3160
209a07d7e401
--- a/UI/LogView.py	Sun Oct 13 12:21:37 2013 +0200
+++ b/UI/LogView.py	Sun Oct 13 14:56:56 2013 +0200
@@ -8,8 +8,8 @@
 """
 
 from PyQt4.QtCore import Qt, pyqtSignal
-from PyQt4.QtGui import QTextEdit, QBrush, QApplication, QMenu, QTextCursor, QWidget, \
-    QHBoxLayout, QTextDocument
+from PyQt4.QtGui import QTextEdit, QBrush, QApplication, QMenu, QTextCursor, \
+    QWidget, QHBoxLayout, QTextDocument
 
 from E5Gui.E5Application import e5App
 
@@ -43,7 +43,8 @@
         
         self.__searchWidget.searchNext.connect(self.__logViewer.searchNext)
         self.__searchWidget.searchPrevious.connect(self.__logViewer.searchPrev)
-        self.__logViewer.searchStringFound.connect(self.__searchWidget.searchStringFound)
+        self.__logViewer.searchStringFound.connect(
+            self.__searchWidget.searchStringFound)
         
     def appendToStdout(self, txt):
         """
@@ -80,7 +81,8 @@
     """
     Class providing a specialized text edit for displaying logging information.
     
-    @signal searchStringFound(found) emitted to indicate the search result (boolean)
+    @signal searchStringFound(found) emitted to indicate the search result
+        (boolean)
     """
     searchStringFound = pyqtSignal(bool)
     
@@ -114,7 +116,8 @@
         
         self.cNormalFormat = self.currentCharFormat()
         self.cErrorFormat = self.currentCharFormat()
-        self.cErrorFormat.setForeground(QBrush(Preferences.getUI("LogStdErrColour")))
+        self.cErrorFormat.setForeground(
+            QBrush(Preferences.getUI("LogStdErrColour")))
         
     def __handleShowContextMenu(self, coord):
         """
@@ -164,7 +167,8 @@
         """
         Public slot to handle a change of the preferences.
         """
-        self.cErrorFormat.setForeground(QBrush(Preferences.getUI("LogStdErrColour")))
+        self.cErrorFormat.setForeground(
+            QBrush(Preferences.getUI("LogStdErrColour")))
         
     def __configure(self):
         """

eric ide

mercurial