68 if self.databasePicker.text() == "" or driver == "": |
68 if self.databasePicker.text() == "" or driver == "": |
69 self.okButton.setEnabled(False) |
69 self.okButton.setEnabled(False) |
70 else: |
70 else: |
71 self.okButton.setEnabled(True) |
71 self.okButton.setEnabled(True) |
72 |
72 |
73 @pyqtSlot(str) |
73 @pyqtSlot(int) |
74 def on_driverCombo_activated(self, txt): |
74 def on_driverCombo_activated(self, index): |
75 """ |
75 """ |
76 Private slot handling the selection of a database driver. |
76 Private slot handling the selection of a database driver. |
77 |
77 |
78 @param txt text of the driver combo (string) |
78 @param index index of the selected entry |
|
79 @type int |
79 """ |
80 """ |
80 self.__updateDialog() |
81 self.__updateDialog() |
81 |
82 |
82 @pyqtSlot(str) |
83 @pyqtSlot(str) |
83 def on_databasePicker_textChanged(self, txt): |
84 def on_databasePicker_textChanged(self, txt): |