ui_app.ui 32.9 KB
Newer Older
1
2
3
4
5
6
7
8
<?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>
Tong Zhang's avatar
Tong Zhang committed
9
10
    <width>1734</width>
    <height>913</height>
11
12
13
14
15
16
17
18
19
   </rect>
  </property>
  <property name="windowTitle">
   <string>MainWindow</string>
  </property>
  <property name="windowIcon">
   <iconset resource="resources.qrc">
    <normaloff>:/icons/default.png</normaloff>:/icons/default.png</iconset>
  </property>
Tong Zhang's avatar
Tong Zhang committed
20
21
22
23
24
25
  <property name="iconSize">
   <size>
    <width>36</width>
    <height>36</height>
   </size>
  </property>
26
  <widget class="QWidget" name="centralwidget">
27
   <layout class="QGridLayout" name="gridLayout">
28
29
    <item row="1" column="0">
     <layout class="QHBoxLayout" name="horizontalLayout">
Tong Zhang's avatar
Tong Zhang committed
30
31
32
33
34
35
36
37
38
39
      <item>
       <widget class="QLabel" name="label_15">
        <property name="text">
         <string>Device Type</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QComboBox" name="elem_type_cbb"/>
      </item>
40
41
42
43
44
45
46
47
48
      <item>
       <widget class="QLabel" name="label">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
Tong Zhang's avatar
Tong Zhang committed
49
         <string>Name List</string>
50
51
52
53
        </property>
       </widget>
      </item>
      <item>
Tong Zhang's avatar
Tong Zhang committed
54
       <widget class="QComboBox" name="elem_name_cbb">
55
56
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
Tong Zhang's avatar
Tong Zhang committed
57
          <horstretch>0</horstretch>
58
59
60
61
62
63
64
65
66
67
68
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="font">
         <font>
          <family>Monospace</family>
         </font>
        </property>
       </widget>
      </item>
      <item>
Tong Zhang's avatar
Tong Zhang committed
69
70
71
72
73
74
75
76
77
78
       <widget class="QLabel" name="label_14">
        <property name="text">
         <string>Field</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QComboBox" name="field_name_cbb"/>
      </item>
      <item>
Tong Zhang's avatar
Tong Zhang committed
79
       <widget class="QToolButton" name="elem_probe_btn">
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
        <property name="toolTip">
         <string>Click to see the details of selected device.</string>
        </property>
        <property name="text">
         <string>info</string>
        </property>
        <property name="icon">
         <iconset resource="resources.qrc">
          <normaloff>:/icons/info.png</normaloff>:/icons/info.png</iconset>
        </property>
        <property name="iconSize">
         <size>
          <width>30</width>
          <height>30</height>
         </size>
        </property>
        <property name="autoRaise">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item>
       <spacer name="horizontalSpacer">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>40</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item>
       <widget class="QLabel" name="label_2">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
Tong Zhang's avatar
Tong Zhang committed
123
         <string>Proposed Setting</string>
124
125
126
127
        </property>
       </widget>
      </item>
      <item>
Tong Zhang's avatar
Tong Zhang committed
128
       <widget class="QDoubleSpinBox" name="new_cset_dsbox">
129
        <property name="suffix">
Tong Zhang's avatar
Tong Zhang committed
130
         <string/>
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
        </property>
        <property name="decimals">
         <number>3</number>
        </property>
        <property name="minimum">
         <double>-100.000000000000000</double>
        </property>
        <property name="maximum">
         <double>100.000000000000000</double>
        </property>
        <property name="singleStep">
         <double>0.100000000000000</double>
        </property>
       </widget>
      </item>
Tong Zhang's avatar
Tong Zhang committed
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
      <item>
       <widget class="QLabel" name="label_12">
        <property name="text">
         <string>Update Rate</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QDoubleSpinBox" name="update_rate_dsbox">
        <property name="prefix">
         <string/>
        </property>
        <property name="suffix">
         <string> Hz</string>
        </property>
        <property name="decimals">
         <number>1</number>
        </property>
        <property name="minimum">
         <double>0.100000000000000</double>
        </property>
        <property name="maximum">
         <double>10.000000000000000</double>
        </property>
        <property name="value">
         <double>1.000000000000000</double>
        </property>
       </widget>
      </item>
175
176
     </layout>
    </item>
177
178
179
180
181
    <item row="0" column="0">
     <widget class="QTabWidget" name="tabWidget">
      <property name="currentIndex">
       <number>0</number>
      </property>
182
      <widget class="QWidget" name="ellipse_tab">
183
184
185
       <attribute name="title">
        <string>Beam Ellipse</string>
       </attribute>
Tong Zhang's avatar
Tong Zhang committed
186
187
       <layout class="QVBoxLayout" name="verticalLayout">
        <item>
Tong Zhang's avatar
Tong Zhang committed
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
         <layout class="QHBoxLayout" name="horizontalLayout_2">
          <item>
           <widget class="QLabel" name="label_3">
            <property name="text">
             <string>Show results after</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QComboBox" name="elemlist_cbb">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
              <horstretch>1</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
Tong Zhang's avatar
Tong Zhang committed
204
205
206
207
208
209
210
211
            <property name="font">
             <font>
              <family>Monospace</family>
             </font>
            </property>
           </widget>
          </item>
          <item>
Tong Zhang's avatar
Tong Zhang committed
212
           <widget class="QToolButton" name="target_elem_probe_btn">
Tong Zhang's avatar
Tong Zhang committed
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
            <property name="toolTip">
             <string>Click to see the details of selected device.</string>
            </property>
            <property name="text">
             <string>info</string>
            </property>
            <property name="icon">
             <iconset resource="resources.qrc">
              <normaloff>:/icons/info.png</normaloff>:/icons/info.png</iconset>
            </property>
            <property name="iconSize">
             <size>
              <width>30</width>
              <height>30</height>
             </size>
            </property>
            <property name="autoRaise">
             <bool>true</bool>
            </property>
Tong Zhang's avatar
Tong Zhang committed
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
           </widget>
          </item>
          <item>
           <widget class="QLineEdit" name="pos_lineEdit">
            <property name="readOnly">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QLineEdit" name="family_lineEdit">
            <property name="readOnly">
             <bool>true</bool>
            </property>
           </widget>
          </item>
         </layout>
249
        </item>
Tong Zhang's avatar
Tong Zhang committed
250
        <item>
Tong Zhang's avatar
Tong Zhang committed
251
252
253
254
255
256
257
258
259
         <widget class="QScrollArea" name="scrollArea">
          <property name="widgetResizable">
           <bool>true</bool>
          </property>
          <widget class="QWidget" name="ellipse_area">
           <property name="geometry">
            <rect>
             <x>0</x>
             <y>0</y>
Tong Zhang's avatar
Tong Zhang committed
260
             <width>1684</width>
Tong Zhang's avatar
Tong Zhang committed
261
             <height>538</height>
Tong Zhang's avatar
Tong Zhang committed
262
263
264
265
            </rect>
           </property>
           <layout class="QGridLayout" name="gridLayout_2">
            <item row="0" column="0">
Tong Zhang's avatar
Tong Zhang committed
266
267
268
             <widget class="QSplitter" name="splitter">
              <property name="orientation">
               <enum>Qt::Horizontal</enum>
Tong Zhang's avatar
Tong Zhang committed
269
              </property>
270
              <widget class="QWidget" name="layoutWidget">
Tong Zhang's avatar
Tong Zhang committed
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
               <layout class="QHBoxLayout" name="horizontalLayout_4">
                <item>
                 <widget class="MatplotlibBaseWidget" name="x_ellipse_plot">
                  <property name="sizePolicy">
                   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                   </sizepolicy>
                  </property>
                  <property name="figureXlabel">
                   <string>X (mm)</string>
                  </property>
                  <property name="figureYlabel">
                   <string>X' (mrad)</string>
                  </property>
                  <property name="figureTitle">
                   <string/>
                  </property>
                  <property name="figureXYlabelFont">
                   <font>
                    <family>sans-serif</family>
                    <pointsize>14</pointsize>
                    <weight>50</weight>
                    <italic>false</italic>
                    <bold>false</bold>
                   </font>
                  </property>
                  <property name="figureTitleFont">
                   <font>
                    <family>sans-serif</family>
                    <pointsize>16</pointsize>
                    <weight>50</weight>
                    <italic>false</italic>
                    <bold>false</bold>
                   </font>
                  </property>
                  <property name="figureXYticksFont">
                   <font>
                    <family>sans-serif</family>
                    <pointsize>12</pointsize>
                    <weight>50</weight>
                    <italic>false</italic>
                    <bold>false</bold>
                   </font>
                  </property>
                  <property name="figureToolbarToggle" stdset="0">
                   <bool>false</bool>
                  </property>
                 </widget>
                </item>
                <item>
                 <widget class="MatplotlibBaseWidget" name="y_ellipse_plot">
                  <property name="sizePolicy">
                   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                   </sizepolicy>
                  </property>
                  <property name="figureXlabel">
                   <string>Y (mm)</string>
                  </property>
                  <property name="figureYlabel">
                   <string>Y' (mrad)</string>
                  </property>
                  <property name="figureXYlabelFont">
                   <font>
                    <family>sans-serif</family>
                    <pointsize>14</pointsize>
                    <weight>50</weight>
                    <italic>false</italic>
                    <bold>false</bold>
                   </font>
                  </property>
                  <property name="figureTitleFont">
                   <font>
                    <family>sans-serif</family>
                    <pointsize>16</pointsize>
                    <weight>50</weight>
                    <italic>false</italic>
                    <bold>false</bold>
                   </font>
                  </property>
                  <property name="figureXYticksFont">
                   <font>
                    <family>sans-serif</family>
                    <pointsize>12</pointsize>
                    <weight>50</weight>
                    <italic>false</italic>
                    <bold>false</bold>
                   </font>
                  </property>
                  <property name="figureToolbarToggle" stdset="0">
                   <bool>false</bool>
                  </property>
                 </widget>
                </item>
               </layout>
              </widget>
              <widget class="QTreeView" name="twiss_results_treeView"/>
Tong Zhang's avatar
Tong Zhang committed
370
371
372
373
374
375
             </widget>
            </item>
           </layout>
          </widget>
         </widget>
        </item>
Tong Zhang's avatar
Tong Zhang committed
376
377
378
379
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout_5">
          <item>
           <widget class="QLabel" name="label_4">
Tong Zhang's avatar
Tong Zhang committed
380
            <property name="text">
Tong Zhang's avatar
Tong Zhang committed
381
             <string>X Limit:</string>
Tong Zhang's avatar
Tong Zhang committed
382
            </property>
Tong Zhang's avatar
Tong Zhang committed
383
384
           </widget>
          </item>
Tong Zhang's avatar
Tong Zhang committed
385
386
          <item>
           <widget class="QLabel" name="label_5">
Tong Zhang's avatar
Tong Zhang committed
387
            <property name="text">
Tong Zhang's avatar
Tong Zhang committed
388
             <string>From</string>
Tong Zhang's avatar
Tong Zhang committed
389
            </property>
Tong Zhang's avatar
Tong Zhang committed
390
391
           </widget>
          </item>
Tong Zhang's avatar
Tong Zhang committed
392
393
          <item>
           <widget class="QLineEdit" name="xlim_x1_lineEdit">
Tong Zhang's avatar
Tong Zhang committed
394
            <property name="text">
Tong Zhang's avatar
Tong Zhang committed
395
             <string>0</string>
Tong Zhang's avatar
Tong Zhang committed
396
            </property>
Tong Zhang's avatar
Tong Zhang committed
397
398
           </widget>
          </item>
Tong Zhang's avatar
Tong Zhang committed
399
400
          <item>
           <widget class="QLabel" name="label_6">
Tong Zhang's avatar
Tong Zhang committed
401
            <property name="text">
Tong Zhang's avatar
Tong Zhang committed
402
             <string>To</string>
Tong Zhang's avatar
Tong Zhang committed
403
            </property>
Tong Zhang's avatar
Tong Zhang committed
404
405
           </widget>
          </item>
Tong Zhang's avatar
Tong Zhang committed
406
407
          <item>
           <widget class="QLineEdit" name="xlim_x2_lineEdit">
Tong Zhang's avatar
Tong Zhang committed
408
            <property name="text">
Tong Zhang's avatar
Tong Zhang committed
409
             <string>1</string>
Tong Zhang's avatar
Tong Zhang committed
410
            </property>
Tong Zhang's avatar
Tong Zhang committed
411
412
           </widget>
          </item>
Tong Zhang's avatar
Tong Zhang committed
413
414
          <item>
           <widget class="QToolButton" name="auto_xlim_btn">
Tong Zhang's avatar
Tong Zhang committed
415
            <property name="text">
Tong Zhang's avatar
Tong Zhang committed
416
             <string>Auto</string>
Tong Zhang's avatar
Tong Zhang committed
417
418
            </property>
           </widget>
Tong Zhang's avatar
Tong Zhang committed
419
          </item>
Tong Zhang's avatar
Tong Zhang committed
420
421
          <item>
           <widget class="QLabel" name="label_7">
Tong Zhang's avatar
Tong Zhang committed
422
            <property name="text">
Tong Zhang's avatar
Tong Zhang committed
423
             <string>Y Limit:</string>
Tong Zhang's avatar
Tong Zhang committed
424
            </property>
Tong Zhang's avatar
Tong Zhang committed
425
426
           </widget>
          </item>
Tong Zhang's avatar
Tong Zhang committed
427
428
          <item>
           <widget class="QLabel" name="label_8">
Tong Zhang's avatar
Tong Zhang committed
429
            <property name="text">
Tong Zhang's avatar
Tong Zhang committed
430
             <string>From</string>
Tong Zhang's avatar
Tong Zhang committed
431
            </property>
Tong Zhang's avatar
Tong Zhang committed
432
433
           </widget>
          </item>
Tong Zhang's avatar
Tong Zhang committed
434
          <item>
Tong Zhang's avatar
Tong Zhang committed
435
436
437
           <widget class="QLineEdit" name="ylim_y1_lineEdit">
            <property name="text">
             <string>0</string>
Tong Zhang's avatar
Tong Zhang committed
438
            </property>
Tong Zhang's avatar
Tong Zhang committed
439
440
           </widget>
          </item>
Tong Zhang's avatar
Tong Zhang committed
441
442
          <item>
           <widget class="QLabel" name="label_9">
Tong Zhang's avatar
Tong Zhang committed
443
            <property name="text">
Tong Zhang's avatar
Tong Zhang committed
444
             <string>To</string>
Tong Zhang's avatar
Tong Zhang committed
445
            </property>
Tong Zhang's avatar
Tong Zhang committed
446
447
           </widget>
          </item>
Tong Zhang's avatar
Tong Zhang committed
448
          <item>
Tong Zhang's avatar
Tong Zhang committed
449
450
451
           <widget class="QLineEdit" name="ylim_y2_lineEdit">
            <property name="text">
             <string>1</string>
Tong Zhang's avatar
Tong Zhang committed
452
            </property>
Tong Zhang's avatar
Tong Zhang committed
453
454
           </widget>
          </item>
Tong Zhang's avatar
Tong Zhang committed
455
456
          <item>
           <widget class="QToolButton" name="auto_ylim_btn">
Tong Zhang's avatar
Tong Zhang committed
457
            <property name="text">
Tong Zhang's avatar
Tong Zhang committed
458
             <string>Auto</string>
Tong Zhang's avatar
Tong Zhang committed
459
            </property>
Tong Zhang's avatar
Tong Zhang committed
460
461
           </widget>
          </item>
Tong Zhang's avatar
Tong Zhang committed
462
463
464
465
466
467
         </layout>
        </item>
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout_6">
          <item>
           <widget class="QCheckBox" name="grid_on_chkbox">
Tong Zhang's avatar
Tong Zhang committed
468
            <property name="text">
Tong Zhang's avatar
Tong Zhang committed
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
             <string>Grid</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QCheckBox" name="mticks_on_chkbox">
            <property name="text">
             <string>Minor Ticks</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QCheckBox" name="tight_layout_on_chkbox">
            <property name="text">
             <string>Compact</string>
Tong Zhang's avatar
Tong Zhang committed
484
485
            </property>
           </widget>
Tong Zhang's avatar
Tong Zhang committed
486
          </item>
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
          <item>
           <widget class="Line" name="line">
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QLabel" name="label_10">
            <property name="text">
             <string>Ellipse Size</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QSpinBox" name="size_factor_sbox">
            <property name="suffix">
             <string/>
            </property>
            <property name="minimum">
             <number>1</number>
            </property>
            <property name="maximum">
             <number>6</number>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QLabel" name="label_11">
            <property name="text">
             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&amp;sigma;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
            </property>
           </widget>
          </item>
Tong Zhang's avatar
Tong Zhang committed
521
522
523
524
525
526
527
528
529
530
531
532
533
          <item>
           <spacer name="horizontalSpacer_2">
            <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>40</width>
              <height>20</height>
             </size>
            </property>
           </spacer>
          </item>
Tong Zhang's avatar
Tong Zhang committed
534
         </layout>
535
536
537
        </item>
       </layout>
      </widget>
538
      <widget class="QWidget" name="envelope_tab">
539
540
541
       <attribute name="title">
        <string>Beam Envelope</string>
       </attribute>
542
       <layout class="QVBoxLayout" name="verticalLayout_3">
543
        <item>
544
545
546
         <widget class="QSplitter" name="envelope_plot_splitter">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
Tong Zhang's avatar
Tong Zhang committed
547
          </property>
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
          <widget class="MatplotlibCurveWidget" name="envelope_plot">
           <property name="figureAutoScale">
            <bool>true</bool>
           </property>
           <property name="figureXlabel">
            <string>s [m]</string>
           </property>
           <property name="figureYlabel">
            <string>Envelope Size [mm]</string>
           </property>
           <property name="figureXYlabelFont">
            <font>
             <family>sans-serif</family>
             <pointsize>14</pointsize>
             <weight>50</weight>
             <italic>false</italic>
             <bold>false</bold>
            </font>
           </property>
           <property name="figureTitleFont">
            <font>
             <family>sans-serif</family>
             <pointsize>14</pointsize>
             <weight>50</weight>
             <italic>false</italic>
             <bold>false</bold>
            </font>
           </property>
           <property name="figureLegendToggle" stdset="0">
            <bool>true</bool>
           </property>
           <property name="figureXYticksFont">
            <font>
             <family>sans-serif</family>
             <pointsize>12</pointsize>
             <weight>50</weight>
             <italic>false</italic>
             <bold>false</bold>
            </font>
           </property>
          </widget>
          <widget class="MatplotlibBaseWidget" name="envelope_layout_plot">
           <property name="figureAutoScale">
            <bool>true</bool>
           </property>
           <property name="figureXTicksVisible">
            <bool>false</bool>
           </property>
           <property name="figureToolbarToggle" stdset="0">
            <bool>false</bool>
           </property>
          </widget>
Tong Zhang's avatar
Tong Zhang committed
600
601
602
603
         </widget>
        </item>
       </layout>
      </widget>
604
      <widget class="QWidget" name="tajectory_tab">
Tong Zhang's avatar
Tong Zhang committed
605
606
607
       <attribute name="title">
        <string>Beam Trajectory</string>
       </attribute>
608
609
610
611
612
       <layout class="QVBoxLayout" name="verticalLayout_2">
        <item>
         <widget class="QSplitter" name="trajectory_plot_splitter">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
Tong Zhang's avatar
Tong Zhang committed
613
          </property>
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
          <widget class="MatplotlibCurveWidget" name="trajectory_plot">
           <property name="figureAutoScale">
            <bool>true</bool>
           </property>
           <property name="figureXlabel">
            <string>s [m]</string>
           </property>
           <property name="figureYlabel">
            <string>Centroid Position [mm]</string>
           </property>
           <property name="figureXYlabelFont">
            <font>
             <family>sans-serif</family>
             <pointsize>14</pointsize>
             <weight>50</weight>
             <italic>false</italic>
             <bold>false</bold>
            </font>
           </property>
           <property name="figureTitleFont">
            <font>
             <family>sans-serif</family>
             <pointsize>14</pointsize>
             <weight>50</weight>
             <italic>false</italic>
             <bold>false</bold>
            </font>
           </property>
Tong Zhang's avatar
Tong Zhang committed
642
643
644
           <property name="figureLegendToggle" stdset="0">
            <bool>true</bool>
           </property>
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
           <property name="figureXYticksFont">
            <font>
             <family>sans-serif</family>
             <pointsize>12</pointsize>
             <weight>50</weight>
             <italic>false</italic>
             <bold>false</bold>
            </font>
           </property>
          </widget>
          <widget class="MatplotlibBaseWidget" name="trajectory_layout_plot">
           <property name="figureAutoScale">
            <bool>true</bool>
           </property>
           <property name="figureToolbarToggle" stdset="0">
            <bool>false</bool>
           </property>
          </widget>
         </widget>
        </item>
       </layout>
      </widget>
      <widget class="QWidget" name="layout_tab">
       <attribute name="title">
        <string>Schematic Layout</string>
       </attribute>
       <layout class="QHBoxLayout" name="horizontalLayout_7">
        <item>
         <widget class="MatplotlibBaseWidget" name="layout_plot">
          <property name="figureAspectRatio">
           <string>20</string>
Tong Zhang's avatar
Tong Zhang committed
676
          </property>
677
678
          <property name="figureTightLayout" stdset="0">
           <bool>true</bool>
Tong Zhang's avatar
Tong Zhang committed
679
          </property>
680
681
          <property name="figureDPI" stdset="0">
           <double>130.000000000000000</double>
Tong Zhang's avatar
Tong Zhang committed
682
          </property>
683
684
          <property name="figureXTicksVisible">
           <bool>false</bool>
Tong Zhang's avatar
Tong Zhang committed
685
          </property>
686
687
          <property name="figureYTicksVisible">
           <bool>false</bool>
Tong Zhang's avatar
Tong Zhang committed
688
          </property>
689
690
691
692
693
694
695
         </widget>
        </item>
       </layout>
      </widget>
     </widget>
    </item>
   </layout>
696
697
698
699
700
701
  </widget>
  <widget class="QMenuBar" name="menubar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
Tong Zhang's avatar
Tong Zhang committed
702
     <width>1734</width>
703
     <height>30</height>
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
    </rect>
   </property>
   <widget class="QMenu" name="menu_File">
    <property name="title">
     <string>&amp;File</string>
    </property>
   </widget>
   <widget class="QMenu" name="menu_Help">
    <property name="title">
     <string>&amp;Help</string>
    </property>
    <addaction name="actionContents"/>
    <addaction name="separator"/>
    <addaction name="action_About"/>
    <addaction name="actionAbout_Qt"/>
   </widget>
   <addaction name="menu_File"/>
   <addaction name="menu_Help"/>
  </widget>
Tong Zhang's avatar
Tong Zhang committed
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
  <widget class="QToolBar" name="toolBar">
   <property name="windowTitle">
    <string>toolBar</string>
   </property>
   <property name="styleSheet">
    <string notr="true">QToolBar {
	padding: 4px;
    spacing: 4px;
}</string>
   </property>
   <property name="toolButtonStyle">
    <enum>Qt::ToolButtonTextUnderIcon</enum>
   </property>
   <attribute name="toolBarArea">
    <enum>TopToolBarArea</enum>
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
   <addaction name="actionLoad_Lattice"/>
   <addaction name="actionExport_Lattice"/>
Tong Zhang's avatar
Tong Zhang committed
744
745
   <addaction name="actionUpdate"/>
   <addaction name="actionAuto_Update"/>
Tong Zhang's avatar
Tong Zhang committed
746
747
   <addaction name="actionE_xit"/>
  </widget>
748
749
750
751
752
753
754
755
756
757
758
759
760
761
  <action name="action_About">
   <property name="text">
    <string>&amp;About</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+A</string>
   </property>
  </action>
  <action name="actionAbout_Qt">
   <property name="text">
    <string>About Qt</string>
   </property>
  </action>
  <action name="actionE_xit">
Tong Zhang's avatar
Tong Zhang committed
762
763
764
765
   <property name="icon">
    <iconset resource="resources.qrc">
     <normaloff>:/icons/exit.png</normaloff>:/icons/exit.png</iconset>
   </property>
766
767
768
   <property name="text">
    <string>E&amp;xit</string>
   </property>
Tong Zhang's avatar
Tong Zhang committed
769
770
771
   <property name="toolTip">
    <string>Exit this app.</string>
   </property>
772
773
774
775
776
777
778
779
780
781
782
783
   <property name="shortcut">
    <string>Ctrl+W</string>
   </property>
  </action>
  <action name="actionContents">
   <property name="text">
    <string>Contents</string>
   </property>
   <property name="shortcut">
    <string>F1</string>
   </property>
  </action>
784
  <action name="actionLoad_Lattice">
Tong Zhang's avatar
Tong Zhang committed
785
786
787
788
   <property name="icon">
    <iconset resource="resources.qrc">
     <normaloff>:/icons/load_lattice.png</normaloff>:/icons/load_lattice.png</iconset>
   </property>
789
790
791
   <property name="text">
    <string>Load Lattice</string>
   </property>
Tong Zhang's avatar
Tong Zhang committed
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
   <property name="toolTip">
    <string>Load machine and segment.</string>
   </property>
  </action>
  <action name="actionExport_Lattice">
   <property name="icon">
    <iconset resource="resources.qrc">
     <normaloff>:/icons/export.png</normaloff>:/icons/export.png</iconset>
   </property>
   <property name="text">
    <string>Export Lattice File</string>
   </property>
   <property name="toolTip">
    <string>Export physics model to a FLAME lattice file.</string>
   </property>
807
  </action>
Tong Zhang's avatar
Tong Zhang committed
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
  <action name="actionUpdate">
   <property name="icon">
    <iconset resource="resources.qrc">
     <normaloff>:/icons/refresh.png</normaloff>:/icons/refresh.png</iconset>
   </property>
   <property name="text">
    <string>Update</string>
   </property>
  </action>
  <action name="actionAuto_Update">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset resource="resources.qrc">
     <normaloff>:/icons/auto-refresh.png</normaloff>:/icons/auto-refresh.png</iconset>
   </property>
   <property name="text">
    <string>Auto Update</string>
   </property>
  </action>
829
 </widget>
Tong Zhang's avatar
Tong Zhang committed
830
831
832
833
834
835
 <customwidgets>
  <customwidget>
   <class>MatplotlibBaseWidget</class>
   <extends>QWidget</extends>
   <header>mpl4qt.widgets.mplbasewidget</header>
  </customwidget>
836
837
838
839
840
  <customwidget>
   <class>MatplotlibCurveWidget</class>
   <extends>QWidget</extends>
   <header>mpl4qt.widgets.mplcurvewidget</header>
  </customwidget>
Tong Zhang's avatar
Tong Zhang committed
841
 </customwidgets>
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
 <resources>
  <include location="resources.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>actionAbout_Qt</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>onAboutQt()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>399</x>
     <y>299</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionE_xit</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>close()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>399</x>
     <y>299</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>action_About</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>onAbout()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>399</x>
     <y>299</y>
    </hint>
   </hints>
  </connection>
Tong Zhang's avatar
Tong Zhang committed
894
895
896
897
898
899
900
  <connection>
   <sender>auto_xlim_btn</sender>
   <signal>clicked()</signal>
   <receiver>MainWindow</receiver>
   <slot>on_auto_xlim()</slot>
   <hints>
    <hint type="sourcelabel">
901
902
     <x>863</x>
     <y>795</y>
Tong Zhang's avatar
Tong Zhang committed
903
904
905
906
907
908
909
910
911
912
913
914
915
916
    </hint>
    <hint type="destinationlabel">
     <x>1730</x>
     <y>738</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>auto_ylim_btn</sender>
   <signal>clicked()</signal>
   <receiver>MainWindow</receiver>
   <slot>on_auto_ylim()</slot>
   <hints>
    <hint type="sourcelabel">
917
918
     <x>1708</x>
     <y>795</y>
Tong Zhang's avatar
Tong Zhang committed
919
920
921
922
923
924
925
    </hint>
    <hint type="destinationlabel">
     <x>1729</x>
     <y>776</y>
    </hint>
   </hints>
  </connection>
926
927
928
929
930
931
932
  <connection>
   <sender>size_factor_sbox</sender>
   <signal>valueChanged(int)</signal>
   <receiver>MainWindow</receiver>
   <slot>on_ellipse_size_changed()</slot>
   <hints>
    <hint type="sourcelabel">
933
934
     <x>517</x>
     <y>837</y>
935
936
937
938
939
940
941
    </hint>
    <hint type="destinationlabel">
     <x>1731</x>
     <y>694</y>
    </hint>
   </hints>
  </connection>
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
  <connection>
   <sender>envelope_plot</sender>
   <signal>autoScaleOnUpdated(bool)</signal>
   <receiver>envelope_layout_plot</receiver>
   <slot>setFigureAutoScale(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>642</x>
     <y>333</y>
    </hint>
    <hint type="destinationlabel">
     <x>864</x>
     <y>621</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>envelope_plot</sender>
   <signal>gridOnUpdated(bool)</signal>
   <receiver>envelope_layout_plot</receiver>
   <slot>setFigureGridToggle(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>500</x>
     <y>435</y>
    </hint>
    <hint type="destinationlabel">
     <x>770</x>
     <y>613</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>envelope_plot</sender>
   <signal>xlimitMinChanged(double)</signal>
   <receiver>envelope_layout_plot</receiver>
   <slot>setXLimitMin(double)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>589</x>
     <y>375</y>
    </hint>
    <hint type="destinationlabel">
     <x>602</x>
     <y>563</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>envelope_plot</sender>
   <signal>xlimitMaxChanged(double)</signal>
   <receiver>envelope_layout_plot</receiver>
   <slot>setXLimitMax(double)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>486</x>
     <y>366</y>
    </hint>
    <hint type="destinationlabel">