src/eric7/EricWidgets/EricMainWindow.py

branch
eric7
changeset 9221
bf71ee032bb4
parent 9209
b99e7fd55fd3
child 9473
3f23dbf37dbe
--- a/src/eric7/EricWidgets/EricMainWindow.py	Wed Jul 13 11:16:20 2022 +0200
+++ b/src/eric7/EricWidgets/EricMainWindow.py	Wed Jul 13 14:55:47 2022 +0200
@@ -16,21 +16,22 @@
     """
     Class implementing a main window with styling support.
     """
+
     def __init__(self, parent=None):
         """
         Constructor
-        
+
         @param parent reference to the parent widget
         @type QWidget
         """
         super().__init__(parent)
-        
+
         self.defaultStyleName = QApplication.style().objectName()
-    
+
     def setStyle(self, styleName, styleSheetFile):
         """
         Public method to set the style of the interface.
-        
+
         @param styleName name of the style to set
         @type str
         @param styleSheetFile name of a style sheet file to read to overwrite
@@ -46,6 +47,6 @@
             style = QStyleFactory.create(self.defaultStyleName)
         if style is not None:
             QApplication.setStyle(style)
-        
+
         # step 2: set a style sheet
         ericApp().setStyleSheetFile(styleSheetFile)

eric ide

mercurial