UI/AuthenticationDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2965
d133c7edd88a
child 3060
5883ce99ee12
--- a/UI/AuthenticationDialog.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/UI/AuthenticationDialog.py	Fri Oct 18 23:00:41 2013 +0200
@@ -18,7 +18,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
         
@@ -26,6 +27,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(AuthenticationDialog, self).__init__(parent)
         self.setupUi(self)
@@ -37,7 +39,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