37 super().__init__(parent) |
37 super().__init__(parent) |
38 self.setupUi(self) |
38 self.setupUi(self) |
39 |
39 |
40 self.timeoutSpinBox.setToolTip( |
40 self.timeoutSpinBox.setToolTip( |
41 self.tr( |
41 self.tr( |
42 "Enter the timeout for the connection attempt (default: {0} s." |
42 "Enter the timeout for the connection attempt (default: {0} s)." |
43 ).format(Preferences.getEricServer("ConnectionTimeout")) |
43 ).format(Preferences.getEricServer("ConnectionTimeout")) |
44 ) |
44 ) |
45 |
45 |
46 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(False) |
46 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(False) |
47 |
47 |