diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py
index 632643c..470fb28 100644
--- a/pytec/tec_qt.py
+++ b/pytec/tec_qt.py
@@ -318,6 +318,8 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
self.menu.addAction(self.actionEnter_DFU_Mode)
self.menu.addAction(self.actionNetwork_Settings)
self.menu.addAction(self.actionAbout_Thermostat)
+ self.menu.addAction(self.actionLoad_all_configs)
+ self.menu.addAction(self.actionSave_all_configs)
self.thermostat_settings.setMenu(self.menu)
diff --git a/pytec/tec_qt.ui b/pytec/tec_qt.ui
index 84ccde9..b3e49cd 100644
--- a/pytec/tec_qt.ui
+++ b/pytec/tec_qt.ui
@@ -493,6 +493,28 @@
QAction::NoRole
+
+
+ Load all configs
+
+
+ Restore configuration for all channels from flash
+
+
+ QAction::NoRole
+
+
+
+
+ Save all configs
+
+
+ Save configuration for all channels to flash
+
+
+ QAction::NoRole
+
+
diff --git a/pytec/ui_tec_qt.py b/pytec/ui_tec_qt.py
index 931fe57..9d0a2cf 100644
--- a/pytec/ui_tec_qt.py
+++ b/pytec/ui_tec_qt.py
@@ -207,6 +207,12 @@ class Ui_MainWindow(object):
self.actionAbout_Thermostat = QtGui.QAction(parent=MainWindow)
self.actionAbout_Thermostat.setMenuRole(QtGui.QAction.MenuRole.NoRole)
self.actionAbout_Thermostat.setObjectName("actionAbout_Thermostat")
+ self.actionLoad_all_configs = QtGui.QAction(parent=MainWindow)
+ self.actionLoad_all_configs.setMenuRole(QtGui.QAction.MenuRole.NoRole)
+ self.actionLoad_all_configs.setObjectName("actionLoad_all_configs")
+ self.actionSave_all_configs = QtGui.QAction(parent=MainWindow)
+ self.actionSave_all_configs.setMenuRole(QtGui.QAction.MenuRole.NoRole)
+ self.actionSave_all_configs.setObjectName("actionSave_all_configs")
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
@@ -233,6 +239,10 @@ class Ui_MainWindow(object):
self.actionNetwork_Settings.setToolTip(_translate("MainWindow", "Configure IPv4 address, netmask length, and optional default gateway"))
self.actionAbout_Thermostat.setText(_translate("MainWindow", "About Thermostat"))
self.actionAbout_Thermostat.setToolTip(_translate("MainWindow", "Show Thermostat hardware revision, and settings related to i"))
+ self.actionLoad_all_configs.setText(_translate("MainWindow", "Load all configs"))
+ self.actionLoad_all_configs.setToolTip(_translate("MainWindow", "Restore configuration for all channels from flash"))
+ self.actionSave_all_configs.setText(_translate("MainWindow", "Save all configs"))
+ self.actionSave_all_configs.setToolTip(_translate("MainWindow", "Save configuration for all channels to flash"))
from pglive.sources.live_plot_widget import LivePlotWidget
from pyqtgraph.parametertree import ParameterTree