UI/AuthenticationDialog.py

changeset 2965
d133c7edd88a
parent 2302
f29e9405c851
child 3039
8dd0165d805d
child 3057
10516539f238
diff -r 84b65fb9e780 -r d133c7edd88a UI/AuthenticationDialog.py
--- a/UI/AuthenticationDialog.py	Sun Sep 29 15:54:10 2013 +0200
+++ b/UI/AuthenticationDialog.py	Sun Sep 29 18:22:08 2013 +0200
@@ -16,7 +16,8 @@
     """
     Class implementing the authentication dialog for the help browser.
     """
-    def __init__(self, info, username, showSave=False, saveIt=False, parent=None):
+    def __init__(self, info, username, showSave=False, saveIt=False,
+                 parent=None):
         """
         Constructor
         
@@ -24,6 +25,7 @@
         @param username username as supplied by subversion (string)
         @param showSave flag to indicate to show the save checkbox (boolean)
         @param saveIt flag indicating the value for the save checkbox (boolean)
+        @param parent reference to the parent widget (QWidget)
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -35,7 +37,8 @@
         
         self.iconLabel.setText("")
         self.iconLabel.setPixmap(
-            self.style().standardIcon(QStyle.SP_MessageBoxQuestion).pixmap(32, 32))
+            self.style().standardIcon(QStyle.SP_MessageBoxQuestion).pixmap(
+            32, 32))
     
     def setData(self, username, password):
         """

eric ide

mercurial