UI/AuthenticationDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3366
6084bb3c3911
child 3656
441956d8fce5
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
39 39
40 self.iconLabel.setText("") 40 self.iconLabel.setText("")
41 self.iconLabel.setPixmap( 41 self.iconLabel.setPixmap(
42 self.style().standardIcon(QStyle.SP_MessageBoxQuestion).pixmap( 42 self.style().standardIcon(QStyle.SP_MessageBoxQuestion).pixmap(
43 32, 32)) 43 32, 32))
44
45 msh = self.minimumSizeHint()
46 self.resize(max(self.width(), msh.width()), msh.height())
44 47
45 def setData(self, username, password): 48 def setData(self, username, password):
46 """ 49 """
47 Public method to set the login data. 50 Public method to set the login data.
48 51

eric ide

mercurial