-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathmainwindow.ui
More file actions
420 lines (420 loc) · 12.2 KB
/
Copy pathmainwindow.ui
File metadata and controls
420 lines (420 loc) · 12.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>893</width>
<height>680</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QTableView" name="tb_var">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
</widget>
</item>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QRadioButton" name="rb_openocd">
<property name="text">
<string/>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="box_openocd">
<property name="enabled">
<bool>true</bool>
</property>
<property name="title">
<string>调试器</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>调试器类型</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cb_interface">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>目标芯片</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cb_target">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cb_ext_openocd">
<property name="toolTip">
<string>勾选后请先启动一个外部OpenOCD进程,本程序将直接连接至该进程</string>
</property>
<property name="text">
<string>外部进程</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QRadioButton" name="rb_serialocd">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="box_serial">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>串口</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>串口号</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cb_com">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="bt_refresh_serial">
<property name="toolTip">
<string>扫描当前的串口到下拉列表中</string>
</property>
<property name="text">
<string>刷新串口</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item row="0" column="1" rowspan="2">
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>操作</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPushButton" name="bt_conn">
<property name="toolTip">
<string>连接到目标芯片</string>
</property>
<property name="text">
<string>连接目标</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="bt_reset">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>发送复位指令</string>
</property>
<property name="text">
<string>复位并运行</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cb_log">
<property name="text">
<string>监视日志</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>工程设置</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>符号文件(AXF/ELF)</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="txt_axf_path">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>请设置符号文件</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="bt_set_axf">
<property name="toolTip">
<string>设置符号文件后才能使用变量名查看变量值,否则只能使用绝对地址</string>
</property>
<property name="text">
<string>设置符号文件</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>893</width>
<height>29</height>
</rect>
</property>
<widget class="QMenu" name="menu">
<property name="title">
<string>菜单</string>
</property>
<addaction name="action_refresh_conf"/>
<addaction name="separator"/>
<addaction name="action_save"/>
<addaction name="action_load"/>
<addaction name="separator"/>
<addaction name="action_export"/>
<addaction name="separator"/>
<addaction name="action_config"/>
</widget>
<widget class="QMenu" name="menu_2">
<property name="title">
<string>帮助</string>
</property>
<addaction name="action_help"/>
<addaction name="separator"/>
<addaction name="action_checkupdate"/>
<addaction name="action_homepage"/>
<addaction name="separator"/>
<addaction name="action_feedback"/>
<addaction name="action_about"/>
</widget>
<widget class="QMenu" name="menu_3">
<property name="title">
<string>窗口</string>
</property>
<addaction name="action_show_graph"/>
<addaction name="action_show_selector"/>
<addaction name="action_show_log"/>
</widget>
<addaction name="menu"/>
<addaction name="menu_3"/>
<addaction name="menu_2"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<action name="action_save">
<property name="text">
<string>保存配置</string>
</property>
<property name="toolTip">
<string>保存配置</string>
</property>
<property name="statusTip">
<string>保存当前界面配置到INI文件</string>
</property>
</action>
<action name="action_load">
<property name="text">
<string>导入配置</string>
</property>
<property name="statusTip">
<string>导入一个界面配置文件</string>
</property>
</action>
<action name="action_export">
<property name="text">
<string>导出数据</string>
</property>
<property name="statusTip">
<string>导出采样数据到CSV表格文件</string>
</property>
</action>
<action name="action_help">
<property name="text">
<string>使用说明</string>
</property>
</action>
<action name="action_about">
<property name="text">
<string>关于</string>
</property>
</action>
<action name="action_show_graph">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>绘图窗口</string>
</property>
<property name="statusTip">
<string>显示或隐藏绘图窗口</string>
</property>
</action>
<action name="action_refresh_conf">
<property name="text">
<string>刷新连接配置</string>
</property>
<property name="toolTip">
<string>刷新连接配置</string>
</property>
<property name="statusTip">
<string>加载OpenOCD配置文件到调试器下拉列表</string>
</property>
</action>
<action name="action_homepage">
<property name="text">
<string>转到主页</string>
</property>
<property name="statusTip">
<string>转到开源仓库主页</string>
</property>
</action>
<action name="action_show_selector">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>选择窗口</string>
</property>
<property name="statusTip">
<string>显示或隐藏变量选择窗口</string>
</property>
</action>
<action name="action_feedback">
<property name="text">
<string>反馈</string>
</property>
<property name="statusTip">
<string>打开反馈页面</string>
</property>
</action>
<action name="action_checkupdate">
<property name="text">
<string>检查更新</string>
</property>
</action>
<action name="action_show_log">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>日志窗口</string>
</property>
<property name="statusTip">
<string>显示或隐藏日志窗口</string>
</property>
</action>
<action name="action_del_var">
<property name="text">
<string>删除选中变量</string>
</property>
<property name="toolTip">
<string>删除选中的变量</string>
</property>
</action>
<action name="action_config">
<property name="text">
<string>高级设置</string>
</property>
<property name="statusTip">
<string>打开高级设置窗口</string>
</property>
</action>
<action name="action_del_all">
<property name="text">
<string>删除所有变量</string>
</property>
<property name="toolTip">
<string>删除所有变量</string>
</property>
</action>
</widget>
<resources/>
<connections/>
</ui>