60 of the default password. |
60 of the default password. |
61 |
61 |
62 @param checked state of the push button (boolean) |
62 @param checked state of the push button (boolean) |
63 """ |
63 """ |
64 if checked: |
64 if checked: |
65 self.defaultPasswordEdit.setEchoMode(QLineEdit.Normal) |
65 self.defaultPasswordEdit.setEchoMode(QLineEdit.EchoMode.Normal) |
66 else: |
66 else: |
67 self.defaultPasswordEdit.setEchoMode(QLineEdit.Password) |
67 self.defaultPasswordEdit.setEchoMode(QLineEdit.EchoMode.Password) |
68 |
68 |
69 @pyqtSlot(bool) |
69 @pyqtSlot(bool) |
70 def on_defaultPushShowPasswordButton_clicked(self, checked): |
70 def on_defaultPushShowPasswordButton_clicked(self, checked): |
71 """ |
71 """ |
72 Private slot to switch the default password visibility |
72 Private slot to switch the default password visibility |
73 of the default push password. |
73 of the default push password. |
74 |
74 |
75 @param checked state of the push button (boolean) |
75 @param checked state of the push button (boolean) |
76 """ |
76 """ |
77 if checked: |
77 if checked: |
78 self.defaultPushPasswordEdit.setEchoMode(QLineEdit.Normal) |
78 self.defaultPushPasswordEdit.setEchoMode( |
|
79 QLineEdit.EchoMode.Normal) |
79 else: |
80 else: |
80 self.defaultPushPasswordEdit.setEchoMode(QLineEdit.Password) |
81 self.defaultPushPasswordEdit.setEchoMode( |
|
82 QLineEdit.EchoMode.Password) |
81 |
83 |
82 def getData(self): |
84 def getData(self): |
83 """ |
85 """ |
84 Public method to get the data entered into the dialog. |
86 Public method to get the data entered into the dialog. |
85 |
87 |