34 self.portSpinBox.setValue(server.getPort()) |
34 self.portSpinBox.setValue(server.getPort()) |
35 self.passwordEdit.setText(server.getPassword()) |
35 self.passwordEdit.setText(server.getPassword()) |
36 self.sslCheckBox.setChecked(server.useSSL()) |
36 self.sslCheckBox.setChecked(server.useSSL()) |
37 |
37 |
38 self.__updateOkButton() |
38 self.__updateOkButton() |
|
39 |
|
40 msh = self.minimumSizeHint() |
|
41 self.resize(max(self.width(), msh.width()), msh.height()) |
39 |
42 |
40 def __updateOkButton(self): |
43 def __updateOkButton(self): |
41 """ |
44 """ |
42 Private method to update the OK button state. |
45 Private method to update the OK button state. |
43 """ |
46 """ |