Neal Wilson 3 years ago
parent
commit
e60f1fd45d
Signed by: Neal Wilson <neal@typica.us> GPG Key ID: 2A0BDDE701E66EB9
1 changed files with 29 additions and 28 deletions
  1. 29
    28
      config/Windows/profilehistory.xml

+ 29
- 28
config/Windows/profilehistory.xml View File

@@ -116,19 +116,19 @@
116 116
 			displayProfile(profileList.data(row, 1));
117 117
 		});
118 118
 		var v1 = findChildObject(this, 'ms');
119
-        v1.triggered.connect(log.LOD_ms);
120
-        var v2 = findChildObject(this, '1s');
121
-        v2.triggered.connect(log.LOD_1s);
122
-        var v3 = findChildObject(this, '5s');
123
-        v3.triggered.connect(log.LOD_5s);
124
-        var v4 = findChildObject(this, '10s');
125
-        v4.triggered.connect(log.LOD_10s);
126
-        var v5 = findChildObject(this, '15s');
127
-        v5.triggered.connect(log.LOD_15s);
128
-        var v6 = findChildObject(this, '30s');
129
-        v6.triggered.connect(log.LOD_30s);
130
-        var v7 = findChildObject(this, '1m');
131
-        v7.triggered.connect(log.LOD_1m);
119
+		v1.triggered.connect(log.LOD_ms);
120
+		var v2 = findChildObject(this, '1s');
121
+		v2.triggered.connect(log.LOD_1s);
122
+		var v3 = findChildObject(this, '5s');
123
+		v3.triggered.connect(log.LOD_5s);
124
+		var v4 = findChildObject(this, '10s');
125
+		v4.triggered.connect(log.LOD_10s);
126
+		var v5 = findChildObject(this, '15s');
127
+		v5.triggered.connect(log.LOD_15s);
128
+		var v6 = findChildObject(this, '30s');
129
+		v6.triggered.connect(log.LOD_30s);
130
+		var v7 = findChildObject(this, '1m');
131
+		v7.triggered.connect(log.LOD_1m);
132 132
 		var showC = findChildObject(this, 'showC');
133 133
 		showC.triggered.connect(function() {
134 134
 			log.setDisplayUnits(Units.Celsius);
@@ -140,22 +140,23 @@
140 140
 			graph.showF();
141 141
 		});
142 142
 		var saveMenu = findChildObject(this, 'save');
143
-        saveMenu.triggered.connect(function() {
144
-            var filename = QFileDialog.getSaveFileName(window, TTR("basicWindow", "Save Log As..."), QSettings.value("script/lastDir", "") + "/");
145
-            if(filename != "") {
146
-                var file = new QFile(filename);
147
-                log.saveXML(file);
148
-                QSettings.setValue("script/lastDir", dir(filename));
149
-            }
150
-        });
143
+		saveMenu.triggered.connect(function() {
144
+			var filename = QFileDialog.getSaveFileName(window, TTR("basicWindow", "Save Log As..."), QSettings.value("script/lastDir", "") + "/");
145
+			if(filename != "") {
146
+				var file = new QFile(filename);
147
+				log.saveXML(file);
148
+				QSettings.setValue("script/lastDir", dir(filename));
149
+			}
150
+		});
151 151
 		var exportMenu = findChildObject(this, 'export');
152
-        exportMenu.triggered.connect(function() {
153
-            var filename = QFileDialog.getSaveFileName(window, TTR("basicWindow", "Export CSV As..."), QSettings.value("script/lastDir", "") + "/");
154
-            if(filename != "") {
155
-                log.saveCSV(file);
156
-                QSettings.setValue("script/lastDir", dir(filename));
157
-            }
158
-        });
152
+		exportMenu.triggered.connect(function() {
153
+			var filename = QFileDialog.getSaveFileName(window, TTR("basicWindow", "Export CSV As..."), QSettings.value("script/lastDir", "") + "/");
154
+			if(filename != "") {
155
+				var file = new QFile(filename);
156
+				log.saveCSV(file);
157
+				QSettings.setValue("script/lastDir", dir(filename));
158
+			}
159
+		});
159 160
 	]]>
160 161
 	</program>
161 162
 </window>

Loading…
Cancel
Save