Plugins/VcsPlugins/vcsPySvn/SvnLoginDialog.py

changeset 2963
745d38097b7f
parent 2302
f29e9405c851
child 2965
d133c7edd88a
equal deleted inserted replaced
2962:d6c9d1ca2da4 2963:745d38097b7f
22 22
23 @param realm name of the realm of the requested credentials (string) 23 @param realm name of the realm of the requested credentials (string)
24 @param username username as supplied by subversion (string) 24 @param username username as supplied by subversion (string)
25 @param may_save flag indicating, that subversion is willing to save 25 @param may_save flag indicating, that subversion is willing to save
26 the answers returned (boolean) 26 the answers returned (boolean)
27 qparam parent reference to the parent widget (QWidget)
27 """ 28 """
28 super().__init__(parent) 29 super().__init__(parent)
29 self.setupUi(self) 30 self.setupUi(self)
30 31
31 self.realmLabel.setText(self.trUtf8("<b>Enter login data for realm {0}.</b>")\ 32 self.realmLabel.setText(
32 .format(realm)) 33 self.trUtf8("<b>Enter login data for realm {0}.</b>")
34 .format(realm))
33 self.usernameEdit.setText(username) 35 self.usernameEdit.setText(username)
34 self.saveCheckBox.setEnabled(may_save) 36 self.saveCheckBox.setEnabled(may_save)
35 if not may_save: 37 if not may_save:
36 self.saveCheckBox.setChecked(False) 38 self.saveCheckBox.setChecked(False)
37 39

eric ide

mercurial