2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing the Python configuration page. | 7 Module implementing the Python configuration page. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from .ConfigurationPageBase import ConfigurationPageBase | 12 from .ConfigurationPageBase import ConfigurationPageBase |
11 from .Ui_PythonPage import Ui_PythonPage | 13 from .Ui_PythonPage import Ui_PythonPage |
12 | 14 |
13 import Preferences | 15 import Preferences |
20 """ | 22 """ |
21 def __init__(self): | 23 def __init__(self): |
22 """ | 24 """ |
23 Constructor | 25 Constructor |
24 """ | 26 """ |
25 super().__init__() | 27 super(PythonPage, self).__init__() |
26 self.setupUi(self) | 28 self.setupUi(self) |
27 self.setObjectName("PythonPage") | 29 self.setObjectName("PythonPage") |
28 | 30 |
29 self.stringEncodingComboBox.addItems(sorted(supportedCodecs)) | 31 self.stringEncodingComboBox.addItems(sorted(supportedCodecs)) |
30 self.ioEncodingComboBox.addItems(sorted(supportedCodecs)) | 32 self.ioEncodingComboBox.addItems(sorted(supportedCodecs)) |