40 self.eDoubleTo.setValidator( |
40 self.eDoubleTo.setValidator( |
41 QDoubleValidator(-2147483647, 2147483647, 99, self.eDoubleTo)) |
41 QDoubleValidator(-2147483647, 2147483647, 99, self.eDoubleTo)) |
42 |
42 |
43 self.bTest = self.buttonBox.addButton( |
43 self.bTest = self.buttonBox.addButton( |
44 self.tr("Test"), QDialogButtonBox.ActionRole) |
44 self.tr("Test"), QDialogButtonBox.ActionRole) |
|
45 |
|
46 msh = self.minimumSizeHint() |
|
47 self.resize(max(self.width(), msh.width()), msh.height()) |
45 |
48 |
46 @pyqtSlot(bool) |
49 @pyqtSlot(bool) |
47 def on_rItem_toggled(self, checked): |
50 def on_rItem_toggled(self, checked): |
48 """ |
51 """ |
49 Private slot to perform actions dependant on the item type selection. |
52 Private slot to perform actions dependant on the item type selection. |