|
@@ -62,7 +62,7 @@
|
62
|
62
|
QSettings.setValue("script/lastDir", dir(filename));
|
63
|
63
|
}
|
64
|
64
|
});
|
65
|
|
- var printMenu = findChildObject(this, 'print');
|
|
65
|
+ var printMenu = findChildObject(this, 'print');
|
66
|
66
|
printMenu.triggered.connect(function() {
|
67
|
67
|
var exportWindow = createWindow("print");
|
68
|
68
|
exportWindow.windowTitle = "Typica - Print";
|
|
@@ -91,12 +91,12 @@
|
91
|
91
|
});
|
92
|
92
|
var showC = findChildObject(this, 'showC');
|
93
|
93
|
showC.triggered.connect(function() {
|
94
|
|
- log.setDisplayUnits(TemperatureDisplay.Celsius);
|
|
94
|
+ log.setDisplayUnits(DAQ.Celsius);
|
95
|
95
|
graph.showC();
|
96
|
96
|
});
|
97
|
97
|
var showF = findChildObject(this, 'showF');
|
98
|
98
|
showF.triggered.connect(function() {
|
99
|
|
- log.setDisplayUnits(TemperatureDisplay.Fahrenheit);
|
|
99
|
+ log.setDisplayUnits(DAQ.Fahrenheit);
|
100
|
100
|
graph.showF();
|
101
|
101
|
});
|
102
|
102
|
var v1 = findChildObject(this, 'ms');
|