2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing the Cooperation configuration page. | 7 Module implementing the Cooperation configuration page. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtCore import pyqtSlot, QRegExp | 12 from PyQt4.QtCore import pyqtSlot, QRegExp |
11 from PyQt4.QtGui import QRegExpValidator, QValidator | 13 from PyQt4.QtGui import QRegExpValidator, QValidator |
12 | 14 |
13 from .ConfigurationPageBase import ConfigurationPageBase | 15 from .ConfigurationPageBase import ConfigurationPageBase |
22 """ | 24 """ |
23 def __init__(self): | 25 def __init__(self): |
24 """ | 26 """ |
25 Constructor | 27 Constructor |
26 """ | 28 """ |
27 super().__init__() | 29 super(CooperationPage, self).__init__() |
28 self.setupUi(self) | 30 self.setupUi(self) |
29 self.setObjectName("CooperationPage") | 31 self.setObjectName("CooperationPage") |
30 | 32 |
31 self.__bannedUserValidator = QRegExpValidator( | 33 self.__bannedUserValidator = QRegExpValidator( |
32 QRegExp("[a-zA-Z0-9.-]+@" | 34 QRegExp("[a-zA-Z0-9.-]+@" |