SqlBrowser/SqlConnectionDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2791
a9577f248f04
parent 2965
d133c7edd88a
child 3145
a9de05d4a22f
diff -r 9986ec0e559a -r 10516539f238 SqlBrowser/SqlConnectionDialog.py
--- a/SqlBrowser/SqlConnectionDialog.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/SqlBrowser/SqlConnectionDialog.py	Fri Oct 18 23:00:41 2013 +0200
@@ -28,6 +28,8 @@
     def __init__(self, parent=None):
         """
         Constructor
+        
+        @param parent reference to the parent widget (QWidget)
         """
         super(SqlConnectionDialog, self).__init__(parent)
         self.setupUi(self)
@@ -75,13 +77,17 @@
     def on_driverCombo_activated(self, txt):
         """
         Private slot handling the selection of a database driver.
+        
+        @param txt text of the driver combo (string)
         """
         self.__updateDialog()
     
     @pyqtSlot(str)
-    def on_databaseEdit_textChanged(self, p0):
+    def on_databaseEdit_textChanged(self, txt):
         """
         Private slot handling the change of the database name.
+        
+        @param txt text of the edit (string)
         """
         self.__updateDialog()
     
@@ -104,9 +110,9 @@
         """
         Public method to retrieve the connection data.
         
-        @return tuple giving the driver name (string), the database name (string),
-            the user name (string), the password (string), the host name (string)
-            and the port (integer)
+        @return tuple giving the driver name (string), the database name
+            (string), the user name (string), the password (string), the
+            host name (string) and the port (integer)
         """
         return (
             self.driverCombo.currentText(),

eric ide

mercurial