37 self.widthSpinBox.setMinimum(minW) |
37 self.widthSpinBox.setMinimum(minW) |
38 self.heightSpinBox.setMinimum(minH) |
38 self.heightSpinBox.setMinimum(minH) |
39 self.widthSpinBox.selectAll() |
39 self.widthSpinBox.selectAll() |
40 self.widthSpinBox.setFocus() |
40 self.widthSpinBox.setFocus() |
41 |
41 |
|
42 msh = self.minimumSizeHint() |
|
43 self.resize(max(self.width(), msh.width()), msh.height()) |
|
44 |
42 def getData(self): |
45 def getData(self): |
43 """ |
46 """ |
44 Method to retrieve the entered data. |
47 Method to retrieve the entered data. |
45 |
48 |
46 @return tuple giving the selected width and height |
49 @return tuple giving the selected width and height |