Preferences/ConfigurationPages/CooperationPage.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3038
7fe9a53280bd
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
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

eric ide

mercurial