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