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