Preferences/ConfigurationPages/EditorCalltipsPage.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1131
7781e396c903
diff -r 1b59c4ba121e -r 8cd4d08fa9f6 Preferences/ConfigurationPages/EditorCalltipsPage.py
--- a/Preferences/ConfigurationPages/EditorCalltipsPage.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/Preferences/ConfigurationPages/EditorCalltipsPage.py	Fri Mar 11 16:51:57 2011 +0100
@@ -14,6 +14,7 @@
 
 import Preferences
 
+
 class EditorCalltipsPage(ConfigurationPageBase, Ui_EditorCalltipsPage):
     """
     Class implementing the Editor Calltips configuration page.
@@ -33,7 +34,7 @@
         self.ctVisibleSlider.setValue(
             Preferences.getEditor("CallTipsVisible"))
         self.callTipsBackgroundColour = \
-            self.initColour("CallTipsBackground", self.calltipsBackgroundButton, 
+            self.initColour("CallTipsBackground", self.calltipsBackgroundButton,
                 Preferences.getEditorColour)
         
         self.ctScintillaCheckBox.setChecked(
@@ -50,7 +51,7 @@
             self.ctVisibleSlider.value())
         Preferences.setEditorColour("CallTipsBackground", self.callTipsBackgroundColour)
         
-        Preferences.setEditor("CallTipsScintillaOnFail", 
+        Preferences.setEditor("CallTipsScintillaOnFail",
             self.ctScintillaCheckBox.isChecked())
         
     @pyqtSlot()
@@ -59,9 +60,10 @@
         Private slot to set the background colour for calltips.
         """
         self.callTipsBackgroundColour = \
-            self.selectColour(self.calltipsBackgroundButton, 
+            self.selectColour(self.calltipsBackgroundButton,
                 self.callTipsBackgroundColour)
 
+
 def create(dlg):
     """
     Module function to create the configuration page.
@@ -69,4 +71,4 @@
     @param dlg reference to the configuration dialog
     """
     page = EditorCalltipsPage()
-    return page
\ No newline at end of file
+    return page

eric ide

mercurial