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