Preferences/ShortcutDialog.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1112
8a7d1b9d18db
--- a/Preferences/ShortcutDialog.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/Preferences/ShortcutDialog.py	Fri Mar 11 16:51:57 2011 +0100
@@ -12,16 +12,17 @@
 
 from .Ui_ShortcutDialog import Ui_ShortcutDialog
 
+
 class ShortcutDialog(QDialog, Ui_ShortcutDialog):
     """
     Class implementing a dialog for the configuration of a keyboard shortcut.
     
-    @signal shortcutChanged(QKeySequence, QKeySequence, bool, string) emitted 
+    @signal shortcutChanged(QKeySequence, QKeySequence, bool, string) emitted
         after the OK button was pressed
     """
     shortcutChanged = pyqtSignal(QKeySequence, QKeySequence, bool, str)
     
-    def __init__(self, parent = None, name = None, modal = False):
+    def __init__(self, parent=None, name=None, modal=False):
         """
         Constructor
         
@@ -79,7 +80,7 @@
         self.hide()
         self.shortcutChanged.emit(
                   QKeySequence(self.keyLabel.text()),
-                  QKeySequence(self.alternateKeyLabel.text()), 
+                  QKeySequence(self.alternateKeyLabel.text()),
                   self.noCheck, self.objectType)
 
     def __clear(self):

eric ide

mercurial