44 msh = self.minimumSizeHint() |
44 msh = self.minimumSizeHint() |
45 self.resize(max(self.width(), msh.width()), msh.height()) |
45 self.resize(max(self.width(), msh.width()), msh.height()) |
46 |
46 |
47 def getData(self): |
47 def getData(self): |
48 """ |
48 """ |
49 Method to retrieve the entered data. |
49 Public method to retrieve the entered data. |
50 |
50 |
51 @return tuple giving the selected width and height |
51 @return tuple giving the selected width and height |
52 (integer, integer) |
52 (integer, integer) |
53 """ |
53 """ |
54 return (self.widthSpinBox.value(), self.heightSpinBox.value()) |
54 return (self.widthSpinBox.value(), self.heightSpinBox.value()) |