Graphics/UMLSceneSizeDialog.py

changeset 3366
6084bb3c3911
parent 3160
209a07d7e401
child 3484
645c12de6b0c
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
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

eric ide

mercurial