eric6/Preferences/ConfigurationPages/PythonPage.py

changeset 7711
5e6792b85a8a
parent 7705
90a9aefd4253
child 7780
41420f82c0ac
equal deleted inserted replaced
7710:9aad21c7765d 7711:5e6792b85a8a
38 self.stringEncodingComboBox.setCurrentIndex(index) 38 self.stringEncodingComboBox.setCurrentIndex(index)
39 index = self.ioEncodingComboBox.findText( 39 index = self.ioEncodingComboBox.findText(
40 Preferences.getSystem("IOEncoding")) 40 Preferences.getSystem("IOEncoding"))
41 self.ioEncodingComboBox.setCurrentIndex(index) 41 self.ioEncodingComboBox.setCurrentIndex(index)
42 42
43 self.showCodeInfoDetailsCeckBox.setChecked(
44 Preferences.getPython("DisViewerExpandCodeInfoDetails"))
45
43 # these are the same as in the debugger pages 46 # these are the same as in the debugger pages
44 self.py3ExtensionsEdit.setText( 47 self.py3ExtensionsEdit.setText(
45 Preferences.getDebugger("Python3Extensions")) 48 Preferences.getDebugger("Python3Extensions"))
46 49
47 self.py3EnvironmentEdit.setText( 50 self.py3EnvironmentEdit.setText(
77 80
78 Preferences.setDebugger( 81 Preferences.setDebugger(
79 "Python3Extensions", 82 "Python3Extensions",
80 self.py3ExtensionsEdit.text()) 83 self.py3ExtensionsEdit.text())
81 84
85 Preferences.setPython(
86 "DisViewerExpandCodeInfoDetails",
87 self.showCodeInfoDetailsCeckBox.isChecked())
88
82 # colours 89 # colours
83 self.saveColours(Preferences.setPython) 90 self.saveColours(Preferences.setPython)
84 91
85 @pyqtSlot() 92 @pyqtSlot()
86 def on_refreshButton_clicked(self): 93 def on_refreshButton_clicked(self):

eric ide

mercurial