def _preferences_clicked(self): """Open the preferences dialog""" diag = PreferencesDialog(self) if(diag.exec_()): v = diag.outputPath.text() self.settings.setValue("outputPath", v) self._recorder.outpath = v
def _preferences_clicked(self): """Open the preferences dialog""" diag = PreferencesDialog(self) if (diag.exec_()): v = diag.outputPath.text() self.settings.setValue("outputPath", v) size = diag.fontSize.value() self.settings.setValue("plotFontSize", size) for dw in self._data_windows: dw.updateFonts() self._recorder.outpath = v
def _preferences_clicked(self): """Open the preferences dialog""" diag = PreferencesDialog(self) if(diag.exec_()): v = diag.outputPath.text() self.settings.setValue("outputPath", v) size = diag.fontSize.value() self.settings.setValue("plotFontSize", size) for dw in self._data_windows: dw.updateFonts() self._recorder.outpath = v