78 def __updateTestButton(self): |
78 def __updateTestButton(self): |
79 """ |
79 """ |
80 Private slot to update the enabled state of the test button. |
80 Private slot to update the enabled state of the test button. |
81 """ |
81 """ |
82 self.testButton.setEnabled( |
82 self.testButton.setEnabled( |
83 self.mailAuthenticationCheckBox.isChecked() and \ |
83 self.mailAuthenticationCheckBox.isChecked() and |
84 self.mailUserEdit.text() != "" and \ |
84 self.mailUserEdit.text() != "" and |
85 self.mailPasswordEdit.text() != "" and \ |
85 self.mailPasswordEdit.text() != "" and |
86 self.mailServerEdit.text() != "" |
86 self.mailServerEdit.text() != "" |
87 ) |
87 ) |
88 |
88 |
89 @pyqtSlot(bool) |
89 @pyqtSlot(bool) |
90 def on_mailAuthenticationCheckBox_toggled(self, checked): |
90 def on_mailAuthenticationCheckBox_toggled(self, checked): |