def is_updated(): old_version = CONF.get("Version", "old_version") if old_version in [__version__, None]: return False else: CONF.set("Version", "old_version", __version__) return True
def on_plot_checkbox_toggeled(checked): CONF.set("ManagerWindow", "auto_plot_results", checked)
def save_geometry(self): geo = self.geometry() CONF.set("ManagerWindow", "height", geo.height()) CONF.set("ManagerWindow", "width", geo.width()) CONF.set("ManagerWindow", "x", geo.x()) CONF.set("ManagerWindow", "y", geo.y())