35 self.saveCheckBox.setVisible(showSave) |
35 self.saveCheckBox.setVisible(showSave) |
36 self.saveCheckBox.setChecked(saveIt) |
36 self.saveCheckBox.setChecked(saveIt) |
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( |
41 32, 32)) |
41 QStyle.StandardPixmap.SP_MessageBoxQuestion) |
|
42 .pixmap(32, 32)) |
42 |
43 |
43 msh = self.minimumSizeHint() |
44 msh = self.minimumSizeHint() |
44 self.resize(max(self.width(), msh.width()), msh.height()) |
45 self.resize(max(self.width(), msh.width()), msh.height()) |
45 |
46 |
46 def setData(self, username, password): |
47 def setData(self, username, password): |