ProjectDjango/ConfigurationPage/DjangoPage.py

changeset 6
80815349eef4
parent 4
81c2943be6b6
child 9
8fe581309106
equal deleted inserted replaced
5:96a317de4626 6:80815349eef4
76 76
77 def save(self): 77 def save(self):
78 """ 78 """
79 Public slot to save the Django configuration. 79 Public slot to save the Django configuration.
80 """ 80 """
81 self.__plugin.setPreferences("ConsoleCommand", 81 self.__plugin.setPreferences("ConsoleCommand",
82 self.consoleCommandCombo.currentText()) 82 self.consoleCommandCombo.currentText())
83 self.__plugin.setPreferences("ConsoleCommandNoClose", 83 self.__plugin.setPreferences("ConsoleCommandNoClose",
84 self.consoleCommandNoCloseCombo.currentText()) 84 self.consoleCommandNoCloseCombo.currentText())
85 85
86 self.__plugin.setPreferences("ServerAddress", 86 self.__plugin.setPreferences("ServerAddress",
87 self.serverAddressEdit.text()) 87 self.serverAddressEdit.text())
88 self.__plugin.setPreferences("UseIPv6", 88 self.__plugin.setPreferences("UseIPv6",
89 self.ipv6CheckBox.isChecked()) 89 self.ipv6CheckBox.isChecked())
90 90
91 self.__plugin.setPreferences("RecentNumberApps", 91 self.__plugin.setPreferences("RecentNumberApps",
92 self.appsRecentSpinBox.value()) 92 self.appsRecentSpinBox.value())
93 93
94 self.__plugin.setPreferences("UsePlainPython", 94 self.__plugin.setPreferences("UsePlainPython",
95 self.plainPythonCheckBox.isChecked()) 95 self.plainPythonCheckBox.isChecked())

eric ide

mercurial