def _open_standard_dialogbox(self): _ok = configDialogBox.StandardDialogBox.get_data() if _ok: _standardFile = Standard() _list = _standardFile.read() self._myTabComponents.set_font_size(int(_list[0])) self._myTabSensors.set_font_size(int(_list[0])) self._myTabSensors.set_sensor_threshold(int(_list[1]))
def _setup_files(self): _standardFile = Standard() _list = _standardFile.read() self._myTabComponents.set_font_size(int(_list[0])) self._myTabSensors.set_font_size(int(_list[0])) self._myTabSensors.set_sensor_threshold(int(_list[1])) self._myTabControl.set_font_size(int(_list[0])) Pins() _intervalFile = Intervals() _list = _intervalFile.read() self._setup_timers(_list)