Graphics/UMLSceneSizeDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3366
6084bb3c3911
child 3591
2f2a4a76dd22
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
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

eric ide

mercurial