コード例 #1
0
    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
コード例 #2
0
 def on_plot_checkbox_toggeled(checked):
     CONF.set("ManagerWindow", "auto_plot_results", checked)
コード例 #3
0
 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())