Neal Wilson 3 年之前
父節點
當前提交
e60f1fd45d
簽署人: Neal Wilson <neal@typica.us> GPG 金鑰 ID: 2A0BDDE701E66EB9
共有 1 個檔案被更改,包括 29 行新增28 行删除
  1. 29
    28
      config/Windows/profilehistory.xml

+ 29
- 28
config/Windows/profilehistory.xml 查看文件

@@ -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…
取消
儲存