Plugins/VcsPlugins/vcsMercurial/HgRepoConfigDataDialog.py

changeset 3246
4cd58a0d6c28
parent 3231
a7c9914d1c41
child 3311
b4775920f5b8
equal deleted inserted replaced
3244:1a54f34202b8 3246:4cd58a0d6c28
37 @pyqtSlot(bool) 37 @pyqtSlot(bool)
38 def on_defaultShowPasswordButton_clicked(self, checked): 38 def on_defaultShowPasswordButton_clicked(self, checked):
39 """ 39 """
40 Private slot to switch the default password visibility 40 Private slot to switch the default password visibility
41 of the default password. 41 of the default password.
42
43 @param checked state of the push button (boolean)
42 """ 44 """
43 if checked: 45 if checked:
44 self.defaultPasswordEdit.setEchoMode(QLineEdit.Normal) 46 self.defaultPasswordEdit.setEchoMode(QLineEdit.Normal)
45 else: 47 else:
46 self.defaultPasswordEdit.setEchoMode(QLineEdit.Password) 48 self.defaultPasswordEdit.setEchoMode(QLineEdit.Password)
48 @pyqtSlot(bool) 50 @pyqtSlot(bool)
49 def on_defaultPushShowPasswordButton_clicked(self, checked): 51 def on_defaultPushShowPasswordButton_clicked(self, checked):
50 """ 52 """
51 Private slot to switch the default password visibility 53 Private slot to switch the default password visibility
52 of the default push password. 54 of the default push password.
55
56 @param checked state of the push button (boolean)
53 """ 57 """
54 if checked: 58 if checked:
55 self.defaultPushPasswordEdit.setEchoMode(QLineEdit.Normal) 59 self.defaultPushPasswordEdit.setEchoMode(QLineEdit.Normal)
56 else: 60 else:
57 self.defaultPushPasswordEdit.setEchoMode(QLineEdit.Password) 61 self.defaultPushPasswordEdit.setEchoMode(QLineEdit.Password)

eric ide

mercurial