91 |
91 |
92 @param txt text entered by the user (string) |
92 @param txt text entered by the user (string) |
93 """ |
93 """ |
94 self.addBannedUserButton.setEnabled( |
94 self.addBannedUserButton.setEnabled( |
95 self.__bannedUserValidator.validate(txt, len(txt))[0] == |
95 self.__bannedUserValidator.validate(txt, len(txt))[0] == |
96 QValidator.Acceptable) |
96 QValidator.State.Acceptable) |
97 |
97 |
98 @pyqtSlot() |
98 @pyqtSlot() |
99 def on_deleteBannedUsersButton_clicked(self): |
99 def on_deleteBannedUsersButton_clicked(self): |
100 """ |
100 """ |
101 Private slot to remove the selected users from the list of |
101 Private slot to remove the selected users from the list of |