Blame view

mstm_guiwindow.ui 17.8 KB
de89d3bc   dmayerich   Initial commit.
1
2
3
4
5
6
7
8
  <?xml version="1.0" encoding="UTF-8"?>
  <ui version="4.0">
   <class>mstmGui</class>
   <widget class="QMainWindow" name="mstmGui">
    <property name="geometry">
     <rect>
      <x>0</x>
      <y>0</y>
5e1cbbab   dmayerich   Bug fixes. UI upd...
9
10
      <width>590</width>
      <height>627</height>
de89d3bc   dmayerich   Initial commit.
11
12
13
14
15
16
     </rect>
    </property>
    <property name="windowTitle">
     <string>Spectral Multi-Sphere T-Matrix Simulation</string>
    </property>
    <widget class="QWidget" name="centralwidget">
de89d3bc   dmayerich   Initial commit.
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
     <widget class="QLabel" name="label_7">
      <property name="geometry">
       <rect>
        <x>0</x>
        <y>20</y>
        <width>111</width>
        <height>21</height>
       </rect>
      </property>
      <property name="text">
       <string>Material</string>
      </property>
      <property name="alignment">
       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
      </property>
     </widget>
     <widget class="QLineEdit" name="txtMaterial">
      <property name="geometry">
       <rect>
        <x>120</x>
        <y>20</y>
        <width>211</width>
        <height>21</height>
       </rect>
      </property>
      <property name="readOnly">
       <bool>true</bool>
      </property>
     </widget>
     <widget class="QGroupBox" name="groupBox">
      <property name="geometry">
       <rect>
        <x>10</x>
        <y>50</y>
        <width>361</width>
        <height>91</height>
       </rect>
      </property>
      <property name="title">
       <string>Spectral Parameters</string>
      </property>
      <widget class="QDoubleSpinBox" name="spinStartLambda">
       <property name="geometry">
        <rect>
         <x>130</x>
         <y>30</y>
         <width>91</width>
         <height>22</height>
        </rect>
       </property>
       <property name="decimals">
        <number>3</number>
       </property>
       <property name="singleStep">
        <double>0.100000000000000</double>
       </property>
      </widget>
      <widget class="QSpinBox" name="spinNumSamples">
       <property name="geometry">
        <rect>
         <x>130</x>
         <y>60</y>
         <width>55</width>
         <height>22</height>
        </rect>
       </property>
6f131540   dmayerich   Additional UI cha...
83
84
85
       <property name="maximum">
        <number>9999</number>
       </property>
de89d3bc   dmayerich   Initial commit.
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
      </widget>
      <widget class="QLabel" name="label_3">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>60</y>
         <width>111</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string># Samples</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="label_2">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>30</y>
         <width>111</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
5e1cbbab   dmayerich   Bug fixes. UI upd...
113
        <string>Wavelengths (um)</string>
de89d3bc   dmayerich   Initial commit.
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
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="label">
       <property name="geometry">
        <rect>
         <x>230</x>
         <y>30</y>
         <width>21</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string>to</string>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="spinEndLambda">
       <property name="geometry">
        <rect>
         <x>250</x>
         <y>30</y>
         <width>91</width>
         <height>22</height>
        </rect>
       </property>
       <property name="decimals">
        <number>3</number>
       </property>
       <property name="singleStep">
        <double>0.100000000000000</double>
       </property>
      </widget>
6f131540   dmayerich   Additional UI cha...
148
149
150
151
152
153
154
155
156
157
158
159
160
      <widget class="QCheckBox" name="chkRandomOrientation">
       <property name="geometry">
        <rect>
         <x>190</x>
         <y>60</y>
         <width>161</width>
         <height>19</height>
        </rect>
       </property>
       <property name="text">
        <string>Random Orientation</string>
       </property>
      </widget>
de89d3bc   dmayerich   Initial commit.
161
162
163
164
165
     </widget>
     <widget class="QGroupBox" name="groupBox_2">
      <property name="geometry">
       <rect>
        <x>10</x>
5e1cbbab   dmayerich   Bug fixes. UI upd...
166
        <y>270</y>
de89d3bc   dmayerich   Initial commit.
167
168
169
170
171
172
173
174
175
176
        <width>361</width>
        <height>91</height>
       </rect>
      </property>
      <property name="title">
       <string>Spheres (currently only dimers)</string>
      </property>
      <widget class="QLabel" name="label_6">
       <property name="geometry">
        <rect>
5e1cbbab   dmayerich   Bug fixes. UI upd...
177
178
         <x>330</x>
         <y>30</y>
de89d3bc   dmayerich   Initial commit.
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
         <width>31</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string>um</string>
       </property>
      </widget>
      <widget class="QLabel" name="label_5">
       <property name="geometry">
        <rect>
         <x>0</x>
         <y>60</y>
         <width>111</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string>Sphere Spacing</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="label_4">
       <property name="geometry">
        <rect>
5e1cbbab   dmayerich   Bug fixes. UI upd...
206
         <x>10</x>
de89d3bc   dmayerich   Initial commit.
207
         <y>30</y>
5e1cbbab   dmayerich   Bug fixes. UI upd...
208
         <width>71</width>
de89d3bc   dmayerich   Initial commit.
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
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string># Spheres</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="spinSpacing">
       <property name="geometry">
        <rect>
         <x>120</x>
         <y>60</y>
         <width>91</width>
         <height>22</height>
        </rect>
       </property>
       <property name="decimals">
        <number>4</number>
       </property>
       <property name="singleStep">
        <double>0.001000000000000</double>
       </property>
      </widget>
      <widget class="QSpinBox" name="spinNumSpheres">
       <property name="enabled">
5e1cbbab   dmayerich   Bug fixes. UI upd...
237
        <bool>true</bool>
de89d3bc   dmayerich   Initial commit.
238
239
240
       </property>
       <property name="geometry">
        <rect>
5e1cbbab   dmayerich   Bug fixes. UI upd...
241
         <x>90</x>
de89d3bc   dmayerich   Initial commit.
242
243
244
245
246
247
         <y>30</y>
         <width>55</width>
         <height>22</height>
        </rect>
       </property>
      </widget>
5e1cbbab   dmayerich   Bug fixes. UI upd...
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
      <widget class="QLabel" name="label_10">
       <property name="geometry">
        <rect>
         <x>170</x>
         <y>30</y>
         <width>51</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string>Radius</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="spinRadius">
       <property name="geometry">
        <rect>
         <x>230</x>
         <y>30</y>
         <width>91</width>
         <height>22</height>
        </rect>
       </property>
       <property name="decimals">
        <number>4</number>
       </property>
       <property name="singleStep">
        <double>0.001000000000000</double>
       </property>
      </widget>
de89d3bc   dmayerich   Initial commit.
280
281
282
283
284
     </widget>
     <widget class="QGroupBox" name="groupBox_3">
      <property name="geometry">
       <rect>
        <x>10</x>
5e1cbbab   dmayerich   Bug fixes. UI upd...
285
        <y>150</y>
de89d3bc   dmayerich   Initial commit.
286
287
288
289
290
291
292
293
294
295
        <width>361</width>
        <height>111</height>
       </rect>
      </property>
      <property name="title">
       <string>Incident Light Parameters</string>
      </property>
      <widget class="QLabel" name="label_8">
       <property name="geometry">
        <rect>
5e1cbbab   dmayerich   Bug fixes. UI upd...
296
297
         <x>0</x>
         <y>50</y>
de89d3bc   dmayerich   Initial commit.
298
299
300
301
302
303
304
305
306
307
308
309
310
311
         <width>91</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string>alpha (deg.)</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="spinAlpha">
       <property name="geometry">
        <rect>
5e1cbbab   dmayerich   Bug fixes. UI upd...
312
313
         <x>100</x>
         <y>50</y>
de89d3bc   dmayerich   Initial commit.
314
315
316
317
318
319
320
         <width>91</width>
         <height>22</height>
        </rect>
       </property>
       <property name="decimals">
        <number>3</number>
       </property>
5e1cbbab   dmayerich   Bug fixes. UI upd...
321
322
323
       <property name="maximum">
        <double>180.000000000000000</double>
       </property>
de89d3bc   dmayerich   Initial commit.
324
325
326
327
328
329
330
       <property name="singleStep">
        <double>0.100000000000000</double>
       </property>
      </widget>
      <widget class="QLabel" name="label_9">
       <property name="geometry">
        <rect>
5e1cbbab   dmayerich   Bug fixes. UI upd...
331
332
         <x>0</x>
         <y>80</y>
de89d3bc   dmayerich   Initial commit.
333
334
335
336
337
338
339
340
341
342
343
344
345
346
         <width>91</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string>beta (deg.)</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="spinBeta">
       <property name="geometry">
        <rect>
5e1cbbab   dmayerich   Bug fixes. UI upd...
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
         <x>100</x>
         <y>80</y>
         <width>91</width>
         <height>22</height>
        </rect>
       </property>
       <property name="decimals">
        <number>3</number>
       </property>
       <property name="maximum">
        <double>180.000000000000000</double>
       </property>
       <property name="singleStep">
        <double>0.100000000000000</double>
       </property>
      </widget>
      <widget class="QLabel" name="label_15">
       <property name="geometry">
        <rect>
         <x>50</x>
         <y>20</y>
         <width>111</width>
         <height>21</height>
        </rect>
       </property>
       <property name="font">
        <font>
         <weight>75</weight>
         <bold>true</bold>
        </font>
       </property>
       <property name="text">
        <string>Light Position</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="label_16">
       <property name="geometry">
        <rect>
         <x>230</x>
         <y>20</y>
         <width>111</width>
         <height>21</height>
        </rect>
       </property>
       <property name="font">
        <font>
         <weight>75</weight>
         <bold>true</bold>
        </font>
       </property>
       <property name="text">
        <string>Polarization</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="spinGamma">
       <property name="geometry">
        <rect>
         <x>240</x>
         <y>70</y>
de89d3bc   dmayerich   Initial commit.
412
413
414
415
416
417
418
         <width>91</width>
         <height>22</height>
        </rect>
       </property>
       <property name="decimals">
        <number>3</number>
       </property>
5e1cbbab   dmayerich   Bug fixes. UI upd...
419
420
421
       <property name="maximum">
        <double>180.000000000000000</double>
       </property>
de89d3bc   dmayerich   Initial commit.
422
423
424
425
       <property name="singleStep">
        <double>0.100000000000000</double>
       </property>
      </widget>
5e1cbbab   dmayerich   Bug fixes. UI upd...
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
      <widget class="QLabel" name="label_17">
       <property name="geometry">
        <rect>
         <x>240</x>
         <y>50</y>
         <width>101</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string>gamma (deg.)</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
de89d3bc   dmayerich   Initial commit.
442
     </widget>
5e1cbbab   dmayerich   Bug fixes. UI upd...
443
     <widget class="QCheckBox" name="chkInWater">
6f131540   dmayerich   Additional UI cha...
444
445
      <property name="geometry">
       <rect>
5e1cbbab   dmayerich   Bug fixes. UI upd...
446
447
448
        <x>350</x>
        <y>20</y>
        <width>83</width>
6f131540   dmayerich   Additional UI cha...
449
450
451
452
        <height>19</height>
       </rect>
      </property>
      <property name="text">
5e1cbbab   dmayerich   Bug fixes. UI upd...
453
       <string>in water</string>
6f131540   dmayerich   Additional UI cha...
454
455
      </property>
     </widget>
5e1cbbab   dmayerich   Bug fixes. UI upd...
456
     <widget class="QGroupBox" name="groupBox_4">
6f131540   dmayerich   Additional UI cha...
457
458
      <property name="geometry">
       <rect>
5e1cbbab   dmayerich   Bug fixes. UI upd...
459
460
461
462
        <x>390</x>
        <y>250</y>
        <width>181</width>
        <height>231</height>
6f131540   dmayerich   Additional UI cha...
463
464
       </rect>
      </property>
5e1cbbab   dmayerich   Bug fixes. UI upd...
465
466
      <property name="title">
       <string>Near Field</string>
6f131540   dmayerich   Additional UI cha...
467
      </property>
5e1cbbab   dmayerich   Bug fixes. UI upd...
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
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
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
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
600
601
602
603
604
605
606
607
608
609
610
611
612
613
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
642
643
644
645
646
647
648
649
650
651
652
653
      <widget class="QCheckBox" name="chkNearField">
       <property name="geometry">
        <rect>
         <x>20</x>
         <y>30</y>
         <width>151</width>
         <height>19</height>
        </rect>
       </property>
       <property name="text">
        <string>Compute Near Field</string>
       </property>
      </widget>
      <widget class="QComboBox" name="cmbPlaneSlice">
       <property name="geometry">
        <rect>
         <x>70</x>
         <y>60</y>
         <width>61</width>
         <height>22</height>
        </rect>
       </property>
       <item>
        <property name="text">
         <string>Y - Z</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>Z - X</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>X - Y</string>
        </property>
       </item>
      </widget>
      <widget class="QDoubleSpinBox" name="spinNearFieldWidth">
       <property name="geometry">
        <rect>
         <x>70</x>
         <y>100</y>
         <width>62</width>
         <height>22</height>
        </rect>
       </property>
       <property name="singleStep">
        <double>0.100000000000000</double>
       </property>
      </widget>
      <widget class="QLabel" name="label_12">
       <property name="geometry">
        <rect>
         <x>20</x>
         <y>100</y>
         <width>41</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string>width</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QLabel" name="label_13">
       <property name="geometry">
        <rect>
         <x>20</x>
         <y>140</y>
         <width>41</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string>height</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="spinNearFieldHeight">
       <property name="geometry">
        <rect>
         <x>70</x>
         <y>140</y>
         <width>62</width>
         <height>22</height>
        </rect>
       </property>
       <property name="singleStep">
        <double>0.100000000000000</double>
       </property>
      </widget>
      <widget class="QLabel" name="label_14">
       <property name="geometry">
        <rect>
         <x>20</x>
         <y>180</y>
         <width>41</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string>steps</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
      <widget class="QSpinBox" name="spinNearFieldSteps">
       <property name="geometry">
        <rect>
         <x>70</x>
         <y>180</y>
         <width>61</width>
         <height>22</height>
        </rect>
       </property>
       <property name="maximum">
        <number>9999</number>
       </property>
      </widget>
     </widget>
     <widget class="QGroupBox" name="groupBox_5">
      <property name="geometry">
       <rect>
        <x>390</x>
        <y>50</y>
        <width>171</width>
        <height>191</height>
       </rect>
      </property>
      <property name="title">
       <string>Simulate</string>
      </property>
      <widget class="QCheckBox" name="chkShowOutput">
       <property name="geometry">
        <rect>
         <x>40</x>
         <y>140</y>
         <width>101</width>
         <height>19</height>
        </rect>
       </property>
       <property name="text">
        <string>MS-TM output</string>
       </property>
      </widget>
      <widget class="QPushButton" name="btnEvaluateNearField">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>100</y>
         <width>151</width>
         <height>23</height>
        </rect>
       </property>
       <property name="text">
        <string>Simulate Wavelength</string>
       </property>
      </widget>
      <widget class="QPushButton" name="btnSimulate">
       <property name="geometry">
        <rect>
         <x>10</x>
         <y>20</y>
         <width>151</width>
         <height>23</height>
        </rect>
       </property>
       <property name="text">
        <string>Simulate Spectrum</string>
       </property>
      </widget>
      <widget class="QDoubleSpinBox" name="spinNearFieldLambda">
       <property name="geometry">
        <rect>
         <x>40</x>
         <y>70</y>
         <width>91</width>
         <height>22</height>
        </rect>
       </property>
edf1d940   dmayerich   UI modifications ...
654
655
656
657
658
659
       <property name="decimals">
        <number>3</number>
       </property>
       <property name="singleStep">
        <double>0.001000000000000</double>
       </property>
5e1cbbab   dmayerich   Bug fixes. UI upd...
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
      </widget>
      <widget class="QLabel" name="label_11">
       <property name="geometry">
        <rect>
         <x>30</x>
         <y>50</y>
         <width>111</width>
         <height>21</height>
        </rect>
       </property>
       <property name="text">
        <string>Wavelength (um)</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
     </widget>
     <widget class="QTableWidget" name="tblSpheres">
      <property name="geometry">
       <rect>
        <x>10</x>
        <y>390</y>
        <width>361</width>
        <height>181</height>
       </rect>
      </property>
      <attribute name="horizontalHeaderDefaultSectionSize">
edf1d940   dmayerich   UI modifications ...
688
       <number>80</number>
5e1cbbab   dmayerich   Bug fixes. UI upd...
689
690
691
692
693
694
695
696
697
698
699
      </attribute>
      <attribute name="verticalHeaderDefaultSectionSize">
       <number>30</number>
      </attribute>
      <column>
       <property name="text">
        <string>radius</string>
       </property>
      </column>
      <column>
       <property name="text">
edf1d940   dmayerich   UI modifications ...
700
        <string>x</string>
5e1cbbab   dmayerich   Bug fixes. UI upd...
701
702
703
704
705
706
707
708
709
710
711
712
       </property>
      </column>
      <column>
       <property name="text">
        <string>y</string>
       </property>
      </column>
      <column>
       <property name="text">
        <string>z</string>
       </property>
      </column>
6f131540   dmayerich   Additional UI cha...
713
     </widget>
de89d3bc   dmayerich   Initial commit.
714
715
716
717
718
719
    </widget>
    <widget class="QMenuBar" name="menubar">
     <property name="geometry">
      <rect>
       <x>0</x>
       <y>0</y>
5e1cbbab   dmayerich   Bug fixes. UI upd...
720
       <width>590</width>
de89d3bc   dmayerich   Initial commit.
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
       <height>22</height>
      </rect>
     </property>
     <widget class="QMenu" name="menuFile">
      <property name="title">
       <string>File</string>
      </property>
      <addaction name="mnuSaveResults"/>
      <addaction name="mnuLoadMaterial"/>
     </widget>
     <addaction name="menuFile"/>
    </widget>
    <widget class="QStatusBar" name="statusbar"/>
    <action name="mnuSaveResults">
     <property name="enabled">
      <bool>true</bool>
     </property>
     <property name="text">
      <string>Save Results</string>
     </property>
    </action>
    <action name="mnuLoadMaterial">
     <property name="text">
      <string>Load Material</string>
     </property>
    </action>
   </widget>
   <resources/>
   <connections/>
  </ui>