Preferences/ConfigurationPages/EmailPage.py

changeset 3034
7ce719013078
parent 3025
67064c71df21
child 3038
7fe9a53280bd
equal deleted inserted replaced
3033:58fe260e7469 3034:7ce719013078
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):

eric ide

mercurial