UI/AuthenticationDialog.py

changeset 3366
6084bb3c3911
parent 3160
209a07d7e401
child 3484
645c12de6b0c
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
37 37
38 self.iconLabel.setText("") 38 self.iconLabel.setText("")
39 self.iconLabel.setPixmap( 39 self.iconLabel.setPixmap(
40 self.style().standardIcon(QStyle.SP_MessageBoxQuestion).pixmap( 40 self.style().standardIcon(QStyle.SP_MessageBoxQuestion).pixmap(
41 32, 32)) 41 32, 32))
42
43 msh = self.minimumSizeHint()
44 self.resize(max(self.width(), msh.width()), msh.height())
42 45
43 def setData(self, username, password): 46 def setData(self, username, password):
44 """ 47 """
45 Public method to set the login data. 48 Public method to set the login data.
46 49

eric ide

mercurial