29 self.setupUi(self) |
29 self.setupUi(self) |
30 |
30 |
31 self.__fieldName = fieldName |
31 self.__fieldName = fieldName |
32 |
32 |
33 self.on_typeCheckBox_toggled(False) |
33 self.on_typeCheckBox_toggled(False) |
|
34 |
|
35 msh = self.minimumSizeHint() |
|
36 self.resize(max(self.width(), msh.width()), msh.height()) |
34 |
37 |
35 @pyqtSlot(bool) |
38 @pyqtSlot(bool) |
36 def on_typeCheckBox_toggled(self, checked): |
39 def on_typeCheckBox_toggled(self, checked): |
37 """ |
40 """ |
38 Slot to react to changes of the type checkbox. |
41 Slot to react to changes of the type checkbox. |