src/eric7/QScintilla/EditorOutlineSizesDialog.py

branch
eric7
changeset 9221
bf71ee032bb4
parent 9209
b99e7fd55fd3
child 9653
e67609152c5e
diff -r e9e7eca7efee -r bf71ee032bb4 src/eric7/QScintilla/EditorOutlineSizesDialog.py
--- a/src/eric7/QScintilla/EditorOutlineSizesDialog.py	Wed Jul 13 11:16:20 2022 +0200
+++ b/src/eric7/QScintilla/EditorOutlineSizesDialog.py	Wed Jul 13 14:55:47 2022 +0200
@@ -19,11 +19,11 @@
     Class implementing a dialog to change the default size settings of the
     Source Outline pane.
     """
-    def __init__(self, currentWidth, defaultWidth, defaultStepSize,
-                 parent=None):
+
+    def __init__(self, currentWidth, defaultWidth, defaultStepSize, parent=None):
         """
         Constructor
-        
+
         @param currentWidth value of the current width
         @type int
         @param defaultWidth value of the default width
@@ -35,21 +35,21 @@
         """
         super().__init__(parent)
         self.setupUi(self)
-        
+
         self.__defaultWidth = defaultWidth
         self.__defaultStepSize = defaultStepSize
-        
+
         self.sourceOutlineWidthSpinBox.setValue(currentWidth)
         self.sourceOutlineWidthStepSpinBox.setValue(defaultStepSize)
-        
+
         msh = self.minimumSizeHint()
         self.resize(max(self.width(), msh.width()), msh.height())
-    
+
     @pyqtSlot(QAbstractButton)
     def on_buttonBox_clicked(self, button):
         """
         Private slot to handle the selection of a dialog button.
-        
+
         @param button reference to the clicked button
         @type QAbstractButton
         """
@@ -58,15 +58,15 @@
         ):
             self.sourceOutlineWidthSpinBox.setValue(self.__defaultWidth)
             self.sourceOutlineWidthStepSpinBox.setValue(self.__defaultStepSize)
-    
+
     def getSizes(self):
         """
         Public method to retrieve the entered values.
-        
+
         @return tuple containing the values of the default width and step size
         @rtype tuple of (int, int)
         """
         return (
             self.sourceOutlineWidthSpinBox.value(),
-            self.sourceOutlineWidthStepSpinBox.value()
+            self.sourceOutlineWidthStepSpinBox.value(),
         )

eric ide

mercurial