83 @pyqtSlot(str) |
84 @pyqtSlot(str) |
84 def on_databasePicker_textChanged(self, txt): |
85 def on_databasePicker_textChanged(self, txt): |
85 """ |
86 """ |
86 Private slot handling the change of the database name. |
87 Private slot handling the change of the database name. |
87 |
88 |
88 @param txt text of the edit (string) |
89 @param txt text of the edit |
|
90 @type str |
89 """ |
91 """ |
90 self.__updateDialog() |
92 self.__updateDialog() |
91 |
93 |
92 def getData(self): |
94 def getData(self): |
93 """ |
95 """ |
94 Public method to retrieve the connection data. |
96 Public method to retrieve the connection data. |
95 |
97 |
96 @return tuple giving the driver name (string), the database name |
98 @return tuple giving the driver name, the database name, the user name, |
97 (string), the user name (string), the password (string), the |
99 the password, the host name and the port |
98 host name (string) and the port (integer) |
100 @rtype tuple of (str, str, str, str, str, int) |
99 """ |
101 """ |
100 return ( |
102 return ( |
101 self.driverCombo.currentText(), |
103 self.driverCombo.currentText(), |
102 self.databasePicker.text(), |
104 self.databasePicker.text(), |
103 self.usernameEdit.text(), |
105 self.usernameEdit.text(), |