UI/AuthenticationDialog.py

changeset 1131
7781e396c903
parent 945
8cd4d08fa9f6
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
23 @param info information to be shown (string) 23 @param info information to be shown (string)
24 @param username username as supplied by subversion (string) 24 @param username username as supplied by subversion (string)
25 @param showSave flag to indicate to show the save checkbox (boolean) 25 @param showSave flag to indicate to show the save checkbox (boolean)
26 @param saveIt flag indicating the value for the save checkbox (boolean) 26 @param saveIt flag indicating the value for the save checkbox (boolean)
27 """ 27 """
28 QDialog.__init__(self, parent) 28 super().__init__(parent)
29 self.setupUi(self) 29 self.setupUi(self)
30 30
31 self.infoLabel.setText(info) 31 self.infoLabel.setText(info)
32 self.usernameEdit.setText(username) 32 self.usernameEdit.setText(username)
33 self.saveCheckBox.setVisible(showSave) 33 self.saveCheckBox.setVisible(showSave)

eric ide

mercurial