bec-widgets 0.112.1__py3-none-any.whl → 0.113.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- CHANGELOG.md +34 -36
- PKG-INFO +1 -1
- bec_widgets/applications/__init__.py +0 -0
- bec_widgets/applications/alignment/__init__.py +0 -0
- bec_widgets/applications/alignment/alignment_1d/__init__.py +0 -0
- bec_widgets/applications/alignment/alignment_1d/alignment_1d.py +265 -0
- bec_widgets/applications/alignment/alignment_1d/alignment_1d.ui +869 -0
- bec_widgets/assets/app_icons/alignment_1d.png +0 -0
- bec_widgets/qt_utils/toolbar.py +3 -1
- bec_widgets/utils/bec_signal_proxy.py +54 -0
- bec_widgets/utils/linear_region_selector.py +15 -3
- bec_widgets/utils/plot_indicator_items.py +247 -0
- bec_widgets/widgets/bec_status_box/bec_status_box.py +5 -9
- bec_widgets/widgets/bec_status_box/status_item.py +18 -9
- bec_widgets/widgets/dap_combo_box/dap_combo_box.py +2 -0
- bec_widgets/widgets/figure/plots/plot_base.py +5 -0
- bec_widgets/widgets/figure/plots/waveform/waveform.py +17 -15
- bec_widgets/widgets/lmfit_dialog/lmfit_dialog.py +151 -16
- bec_widgets/widgets/lmfit_dialog/lmfit_dialog_vertical.ui +47 -14
- bec_widgets/widgets/positioner_box/positioner_box.py +4 -1
- bec_widgets/widgets/scan_control/scan_control.py +38 -0
- bec_widgets/widgets/stop_button/stop_button.py +14 -2
- {bec_widgets-0.112.1.dist-info → bec_widgets-0.113.0.dist-info}/METADATA +1 -1
- {bec_widgets-0.112.1.dist-info → bec_widgets-0.113.0.dist-info}/RECORD +28 -25
- pyproject.toml +1 -1
- bec_widgets/assets/status_icons/error.svg +0 -3
- bec_widgets/assets/status_icons/not_connected.svg +0 -3
- bec_widgets/assets/status_icons/refresh.svg +0 -3
- bec_widgets/assets/status_icons/running.svg +0 -3
- bec_widgets/assets/status_icons/warning.svg +0 -3
- {bec_widgets-0.112.1.dist-info → bec_widgets-0.113.0.dist-info}/WHEEL +0 -0
- {bec_widgets-0.112.1.dist-info → bec_widgets-0.113.0.dist-info}/entry_points.txt +0 -0
- {bec_widgets-0.112.1.dist-info → bec_widgets-0.113.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,869 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ui version="4.0">
|
3
|
+
<class>Form</class>
|
4
|
+
<widget class="QWidget" name="Form">
|
5
|
+
<property name="geometry">
|
6
|
+
<rect>
|
7
|
+
<x>0</x>
|
8
|
+
<y>0</y>
|
9
|
+
<width>1335</width>
|
10
|
+
<height>939</height>
|
11
|
+
</rect>
|
12
|
+
</property>
|
13
|
+
<property name="windowTitle">
|
14
|
+
<string>Form</string>
|
15
|
+
</property>
|
16
|
+
<layout class="QVBoxLayout" name="verticalLayout">
|
17
|
+
<item>
|
18
|
+
<layout class="QHBoxLayout" name="horizontalLayout_3" stretch="0,0,0,0,0,1">
|
19
|
+
<item>
|
20
|
+
<widget class="DarkModeButton" name="dark_mode_button"/>
|
21
|
+
</item>
|
22
|
+
<item>
|
23
|
+
<widget class="QRadioButton" name="radioButton_2">
|
24
|
+
<property name="enabled">
|
25
|
+
<bool>false</bool>
|
26
|
+
</property>
|
27
|
+
<property name="text">
|
28
|
+
<string>BEC Server State</string>
|
29
|
+
</property>
|
30
|
+
<property name="checkable">
|
31
|
+
<bool>true</bool>
|
32
|
+
</property>
|
33
|
+
<property name="checked">
|
34
|
+
<bool>true</bool>
|
35
|
+
</property>
|
36
|
+
<property name="autoExclusive">
|
37
|
+
<bool>false</bool>
|
38
|
+
</property>
|
39
|
+
</widget>
|
40
|
+
</item>
|
41
|
+
<item>
|
42
|
+
<widget class="QRadioButton" name="radioButton_4">
|
43
|
+
<property name="enabled">
|
44
|
+
<bool>false</bool>
|
45
|
+
</property>
|
46
|
+
<property name="text">
|
47
|
+
<string>BEC Queue</string>
|
48
|
+
</property>
|
49
|
+
<property name="checkable">
|
50
|
+
<bool>true</bool>
|
51
|
+
</property>
|
52
|
+
<property name="checked">
|
53
|
+
<bool>true</bool>
|
54
|
+
</property>
|
55
|
+
<property name="autoExclusive">
|
56
|
+
<bool>false</bool>
|
57
|
+
</property>
|
58
|
+
</widget>
|
59
|
+
</item>
|
60
|
+
<item>
|
61
|
+
<widget class="QRadioButton" name="radioButton">
|
62
|
+
<property name="enabled">
|
63
|
+
<bool>false</bool>
|
64
|
+
</property>
|
65
|
+
<property name="text">
|
66
|
+
<string>SLS Light On</string>
|
67
|
+
</property>
|
68
|
+
<property name="checkable">
|
69
|
+
<bool>true</bool>
|
70
|
+
</property>
|
71
|
+
<property name="checked">
|
72
|
+
<bool>true</bool>
|
73
|
+
</property>
|
74
|
+
<property name="autoExclusive">
|
75
|
+
<bool>false</bool>
|
76
|
+
</property>
|
77
|
+
</widget>
|
78
|
+
</item>
|
79
|
+
<item>
|
80
|
+
<widget class="QRadioButton" name="radioButton_3">
|
81
|
+
<property name="enabled">
|
82
|
+
<bool>false</bool>
|
83
|
+
</property>
|
84
|
+
<property name="text">
|
85
|
+
<string>BEAMLINE Checks</string>
|
86
|
+
</property>
|
87
|
+
<property name="checkable">
|
88
|
+
<bool>true</bool>
|
89
|
+
</property>
|
90
|
+
<property name="checked">
|
91
|
+
<bool>true</bool>
|
92
|
+
</property>
|
93
|
+
<property name="autoExclusive">
|
94
|
+
<bool>false</bool>
|
95
|
+
</property>
|
96
|
+
</widget>
|
97
|
+
</item>
|
98
|
+
<item>
|
99
|
+
<widget class="StopButton" name="stop_button">
|
100
|
+
<property name="sizePolicy">
|
101
|
+
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
102
|
+
<horstretch>0</horstretch>
|
103
|
+
<verstretch>0</verstretch>
|
104
|
+
</sizepolicy>
|
105
|
+
</property>
|
106
|
+
<property name="minimumSize">
|
107
|
+
<size>
|
108
|
+
<width>200</width>
|
109
|
+
<height>40</height>
|
110
|
+
</size>
|
111
|
+
</property>
|
112
|
+
<property name="maximumSize">
|
113
|
+
<size>
|
114
|
+
<width>200</width>
|
115
|
+
<height>40</height>
|
116
|
+
</size>
|
117
|
+
</property>
|
118
|
+
</widget>
|
119
|
+
</item>
|
120
|
+
</layout>
|
121
|
+
</item>
|
122
|
+
<item>
|
123
|
+
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0">
|
124
|
+
<item>
|
125
|
+
<widget class="QTabWidget" name="tabWidget">
|
126
|
+
<property name="sizePolicy">
|
127
|
+
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
128
|
+
<horstretch>0</horstretch>
|
129
|
+
<verstretch>0</verstretch>
|
130
|
+
</sizepolicy>
|
131
|
+
</property>
|
132
|
+
<property name="currentIndex">
|
133
|
+
<number>0</number>
|
134
|
+
</property>
|
135
|
+
<widget class="QWidget" name="ControlTab">
|
136
|
+
<attribute name="title">
|
137
|
+
<string>Alignment Control</string>
|
138
|
+
</attribute>
|
139
|
+
<layout class="QHBoxLayout" name="horizontalLayout_6" stretch="0,1,2">
|
140
|
+
<property name="leftMargin">
|
141
|
+
<number>2</number>
|
142
|
+
</property>
|
143
|
+
<property name="topMargin">
|
144
|
+
<number>2</number>
|
145
|
+
</property>
|
146
|
+
<property name="rightMargin">
|
147
|
+
<number>2</number>
|
148
|
+
</property>
|
149
|
+
<property name="bottomMargin">
|
150
|
+
<number>2</number>
|
151
|
+
</property>
|
152
|
+
<item>
|
153
|
+
<widget class="ScanControl" name="scan_control">
|
154
|
+
<property name="minimumSize">
|
155
|
+
<size>
|
156
|
+
<width>0</width>
|
157
|
+
<height>0</height>
|
158
|
+
</size>
|
159
|
+
</property>
|
160
|
+
<property name="current_scan" stdset="0">
|
161
|
+
<string>line_scan</string>
|
162
|
+
</property>
|
163
|
+
<property name="hide_arg_box" stdset="0">
|
164
|
+
<bool>true</bool>
|
165
|
+
</property>
|
166
|
+
<property name="hide_kwarg_boxes" stdset="0">
|
167
|
+
<bool>true</bool>
|
168
|
+
</property>
|
169
|
+
<property name="hide_scan_remember_toggle" stdset="0">
|
170
|
+
<bool>true</bool>
|
171
|
+
</property>
|
172
|
+
<property name="hide_scan_control_buttons" stdset="0">
|
173
|
+
<bool>true</bool>
|
174
|
+
</property>
|
175
|
+
<property name="hide_bundle_buttons" stdset="0">
|
176
|
+
<bool>true</bool>
|
177
|
+
</property>
|
178
|
+
<property name="hide_args_group" stdset="0">
|
179
|
+
<bool>true</bool>
|
180
|
+
</property>
|
181
|
+
<property name="hide_kwargs_group" stdset="0">
|
182
|
+
<bool>false</bool>
|
183
|
+
</property>
|
184
|
+
</widget>
|
185
|
+
</item>
|
186
|
+
<item>
|
187
|
+
<layout class="QVBoxLayout" name="control_layout" stretch="0,0,2">
|
188
|
+
<item>
|
189
|
+
<widget class="QGroupBox" name="device_box">
|
190
|
+
<property name="minimumSize">
|
191
|
+
<size>
|
192
|
+
<width>450</width>
|
193
|
+
<height>95</height>
|
194
|
+
</size>
|
195
|
+
</property>
|
196
|
+
<property name="maximumSize">
|
197
|
+
<size>
|
198
|
+
<width>450</width>
|
199
|
+
<height>16777215</height>
|
200
|
+
</size>
|
201
|
+
</property>
|
202
|
+
<property name="font">
|
203
|
+
<font>
|
204
|
+
<pointsize>15</pointsize>
|
205
|
+
<bold>true</bold>
|
206
|
+
</font>
|
207
|
+
</property>
|
208
|
+
<property name="autoFillBackground">
|
209
|
+
<bool>false</bool>
|
210
|
+
</property>
|
211
|
+
<property name="title">
|
212
|
+
<string>Devices</string>
|
213
|
+
</property>
|
214
|
+
<layout class="QGridLayout" name="gridLayout" rowstretch="0,0" columnstretch="0,0,0">
|
215
|
+
<property name="leftMargin">
|
216
|
+
<number>8</number>
|
217
|
+
</property>
|
218
|
+
<property name="topMargin">
|
219
|
+
<number>8</number>
|
220
|
+
</property>
|
221
|
+
<property name="rightMargin">
|
222
|
+
<number>8</number>
|
223
|
+
</property>
|
224
|
+
<property name="bottomMargin">
|
225
|
+
<number>8</number>
|
226
|
+
</property>
|
227
|
+
<item row="0" column="0">
|
228
|
+
<widget class="QLabel" name="label">
|
229
|
+
<property name="font">
|
230
|
+
<font/>
|
231
|
+
</property>
|
232
|
+
<property name="text">
|
233
|
+
<string>Motor</string>
|
234
|
+
</property>
|
235
|
+
</widget>
|
236
|
+
</item>
|
237
|
+
<item row="0" column="1">
|
238
|
+
<widget class="QLabel" name="label_2">
|
239
|
+
<property name="font">
|
240
|
+
<font/>
|
241
|
+
</property>
|
242
|
+
<property name="text">
|
243
|
+
<string>Monitor</string>
|
244
|
+
</property>
|
245
|
+
</widget>
|
246
|
+
</item>
|
247
|
+
<item row="0" column="2">
|
248
|
+
<widget class="QLabel" name="label_3">
|
249
|
+
<property name="font">
|
250
|
+
<font/>
|
251
|
+
</property>
|
252
|
+
<property name="text">
|
253
|
+
<string>LMFit Model</string>
|
254
|
+
</property>
|
255
|
+
</widget>
|
256
|
+
</item>
|
257
|
+
<item row="1" column="0">
|
258
|
+
<widget class="DeviceComboBox" name="device_combobox"/>
|
259
|
+
</item>
|
260
|
+
<item row="1" column="1">
|
261
|
+
<widget class="DeviceComboBox" name="device_combobox_2"/>
|
262
|
+
</item>
|
263
|
+
<item row="1" column="2">
|
264
|
+
<widget class="DapComboBox" name="dap_combo_box"/>
|
265
|
+
</item>
|
266
|
+
</layout>
|
267
|
+
</widget>
|
268
|
+
</item>
|
269
|
+
<item>
|
270
|
+
<widget class="QTabWidget" name="tabWidget_2">
|
271
|
+
<property name="minimumSize">
|
272
|
+
<size>
|
273
|
+
<width>450</width>
|
274
|
+
<height>343</height>
|
275
|
+
</size>
|
276
|
+
</property>
|
277
|
+
<property name="maximumSize">
|
278
|
+
<size>
|
279
|
+
<width>450</width>
|
280
|
+
<height>16777215</height>
|
281
|
+
</size>
|
282
|
+
</property>
|
283
|
+
<property name="currentIndex">
|
284
|
+
<number>0</number>
|
285
|
+
</property>
|
286
|
+
<widget class="QWidget" name="scan_control_tab">
|
287
|
+
<attribute name="title">
|
288
|
+
<string>LineScan</string>
|
289
|
+
</attribute>
|
290
|
+
<layout class="QGridLayout" name="gridLayout_2">
|
291
|
+
<item row="2" column="0">
|
292
|
+
<widget class="QLabel" name="label_10">
|
293
|
+
<property name="font">
|
294
|
+
<font>
|
295
|
+
<bold>false</bold>
|
296
|
+
</font>
|
297
|
+
</property>
|
298
|
+
<property name="text">
|
299
|
+
<string>Relative</string>
|
300
|
+
</property>
|
301
|
+
</widget>
|
302
|
+
</item>
|
303
|
+
<item row="1" column="0">
|
304
|
+
<widget class="QDoubleSpinBox" name="linescan_start">
|
305
|
+
<property name="decimals">
|
306
|
+
<number>3</number>
|
307
|
+
</property>
|
308
|
+
<property name="minimum">
|
309
|
+
<double>-10000000.000000000000000</double>
|
310
|
+
</property>
|
311
|
+
<property name="maximum">
|
312
|
+
<double>10000000.000000000000000</double>
|
313
|
+
</property>
|
314
|
+
<property name="value">
|
315
|
+
<double>0.000000000000000</double>
|
316
|
+
</property>
|
317
|
+
</widget>
|
318
|
+
</item>
|
319
|
+
<item row="2" column="1">
|
320
|
+
<widget class="QLabel" name="label_11">
|
321
|
+
<property name="font">
|
322
|
+
<font>
|
323
|
+
<bold>false</bold>
|
324
|
+
</font>
|
325
|
+
</property>
|
326
|
+
<property name="text">
|
327
|
+
<string>Exposure Time</string>
|
328
|
+
</property>
|
329
|
+
</widget>
|
330
|
+
</item>
|
331
|
+
<item row="0" column="0">
|
332
|
+
<widget class="QLabel" name="label_7">
|
333
|
+
<property name="font">
|
334
|
+
<font>
|
335
|
+
<bold>false</bold>
|
336
|
+
</font>
|
337
|
+
</property>
|
338
|
+
<property name="text">
|
339
|
+
<string>Start</string>
|
340
|
+
</property>
|
341
|
+
</widget>
|
342
|
+
</item>
|
343
|
+
<item row="2" column="3">
|
344
|
+
<widget class="QLabel" name="label_12">
|
345
|
+
<property name="font">
|
346
|
+
<font>
|
347
|
+
<bold>false</bold>
|
348
|
+
</font>
|
349
|
+
</property>
|
350
|
+
<property name="text">
|
351
|
+
<string>Burst at each point</string>
|
352
|
+
</property>
|
353
|
+
</widget>
|
354
|
+
</item>
|
355
|
+
<item row="3" column="0">
|
356
|
+
<widget class="QCheckBox" name="linescan_relative">
|
357
|
+
<property name="text">
|
358
|
+
<string/>
|
359
|
+
</property>
|
360
|
+
</widget>
|
361
|
+
</item>
|
362
|
+
<item row="0" column="1" colspan="2">
|
363
|
+
<widget class="QLabel" name="label_8">
|
364
|
+
<property name="font">
|
365
|
+
<font>
|
366
|
+
<bold>false</bold>
|
367
|
+
</font>
|
368
|
+
</property>
|
369
|
+
<property name="text">
|
370
|
+
<string>Stop</string>
|
371
|
+
</property>
|
372
|
+
</widget>
|
373
|
+
</item>
|
374
|
+
<item row="1" column="3">
|
375
|
+
<widget class="QSpinBox" name="linescan_step">
|
376
|
+
<property name="minimum">
|
377
|
+
<number>0</number>
|
378
|
+
</property>
|
379
|
+
<property name="maximum">
|
380
|
+
<number>10000000</number>
|
381
|
+
</property>
|
382
|
+
<property name="value">
|
383
|
+
<number>0</number>
|
384
|
+
</property>
|
385
|
+
</widget>
|
386
|
+
</item>
|
387
|
+
<item row="5" column="0" colspan="4">
|
388
|
+
<widget class="QPushButton" name="scan_button">
|
389
|
+
<property name="minimumSize">
|
390
|
+
<size>
|
391
|
+
<width>0</width>
|
392
|
+
<height>40</height>
|
393
|
+
</size>
|
394
|
+
</property>
|
395
|
+
<property name="font">
|
396
|
+
<font/>
|
397
|
+
</property>
|
398
|
+
<property name="text">
|
399
|
+
<string>Run Scan</string>
|
400
|
+
</property>
|
401
|
+
<property name="autoDefault">
|
402
|
+
<bool>false</bool>
|
403
|
+
</property>
|
404
|
+
<property name="default">
|
405
|
+
<bool>false</bool>
|
406
|
+
</property>
|
407
|
+
</widget>
|
408
|
+
</item>
|
409
|
+
<item row="1" column="1" colspan="2">
|
410
|
+
<widget class="QDoubleSpinBox" name="linescan_stop">
|
411
|
+
<property name="decimals">
|
412
|
+
<number>3</number>
|
413
|
+
</property>
|
414
|
+
<property name="minimum">
|
415
|
+
<double>-10000000.000000000000000</double>
|
416
|
+
</property>
|
417
|
+
<property name="maximum">
|
418
|
+
<double>10000000.000000000000000</double>
|
419
|
+
</property>
|
420
|
+
<property name="value">
|
421
|
+
<double>0.000000000000000</double>
|
422
|
+
</property>
|
423
|
+
</widget>
|
424
|
+
</item>
|
425
|
+
<item row="3" column="3">
|
426
|
+
<widget class="QSpinBox" name="linescan_step_2">
|
427
|
+
<property name="minimum">
|
428
|
+
<number>1</number>
|
429
|
+
</property>
|
430
|
+
<property name="maximum">
|
431
|
+
<number>10000000</number>
|
432
|
+
</property>
|
433
|
+
<property name="value">
|
434
|
+
<number>1</number>
|
435
|
+
</property>
|
436
|
+
</widget>
|
437
|
+
</item>
|
438
|
+
<item row="0" column="3">
|
439
|
+
<widget class="QLabel" name="label_9">
|
440
|
+
<property name="font">
|
441
|
+
<font>
|
442
|
+
<bold>false</bold>
|
443
|
+
</font>
|
444
|
+
</property>
|
445
|
+
<property name="text">
|
446
|
+
<string>Steps</string>
|
447
|
+
</property>
|
448
|
+
</widget>
|
449
|
+
</item>
|
450
|
+
<item row="3" column="1">
|
451
|
+
<widget class="QDoubleSpinBox" name="linescan_exp_time">
|
452
|
+
<property name="decimals">
|
453
|
+
<number>3</number>
|
454
|
+
</property>
|
455
|
+
<property name="minimum">
|
456
|
+
<double>-10000000.000000000000000</double>
|
457
|
+
</property>
|
458
|
+
<property name="maximum">
|
459
|
+
<double>10000000.000000000000000</double>
|
460
|
+
</property>
|
461
|
+
<property name="value">
|
462
|
+
<double>0.000000000000000</double>
|
463
|
+
</property>
|
464
|
+
</widget>
|
465
|
+
</item>
|
466
|
+
<item row="4" column="1">
|
467
|
+
<spacer name="verticalSpacer_2">
|
468
|
+
<property name="orientation">
|
469
|
+
<enum>Qt::Orientation::Vertical</enum>
|
470
|
+
</property>
|
471
|
+
<property name="sizeHint" stdset="0">
|
472
|
+
<size>
|
473
|
+
<width>20</width>
|
474
|
+
<height>40</height>
|
475
|
+
</size>
|
476
|
+
</property>
|
477
|
+
</spacer>
|
478
|
+
</item>
|
479
|
+
</layout>
|
480
|
+
</widget>
|
481
|
+
<widget class="QWidget" name="tweak_tab">
|
482
|
+
<attribute name="title">
|
483
|
+
<string>MotorTweak</string>
|
484
|
+
</attribute>
|
485
|
+
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,0,0">
|
486
|
+
<item>
|
487
|
+
<spacer name="horizontalSpacer_2">
|
488
|
+
<property name="orientation">
|
489
|
+
<enum>Qt::Orientation::Horizontal</enum>
|
490
|
+
</property>
|
491
|
+
<property name="sizeHint" stdset="0">
|
492
|
+
<size>
|
493
|
+
<width>40</width>
|
494
|
+
<height>20</height>
|
495
|
+
</size>
|
496
|
+
</property>
|
497
|
+
</spacer>
|
498
|
+
</item>
|
499
|
+
<item>
|
500
|
+
<widget class="PositionerBox" name="positioner_box">
|
501
|
+
<property name="hide_device_selection" stdset="0">
|
502
|
+
<bool>true</bool>
|
503
|
+
</property>
|
504
|
+
</widget>
|
505
|
+
</item>
|
506
|
+
<item>
|
507
|
+
<spacer name="horizontalSpacer">
|
508
|
+
<property name="orientation">
|
509
|
+
<enum>Qt::Orientation::Horizontal</enum>
|
510
|
+
</property>
|
511
|
+
<property name="sizeHint" stdset="0">
|
512
|
+
<size>
|
513
|
+
<width>40</width>
|
514
|
+
<height>20</height>
|
515
|
+
</size>
|
516
|
+
</property>
|
517
|
+
</spacer>
|
518
|
+
</item>
|
519
|
+
</layout>
|
520
|
+
</widget>
|
521
|
+
</widget>
|
522
|
+
</item>
|
523
|
+
<item>
|
524
|
+
<spacer name="verticalSpacer">
|
525
|
+
<property name="orientation">
|
526
|
+
<enum>Qt::Orientation::Vertical</enum>
|
527
|
+
</property>
|
528
|
+
<property name="sizeHint" stdset="0">
|
529
|
+
<size>
|
530
|
+
<width>20</width>
|
531
|
+
<height>40</height>
|
532
|
+
</size>
|
533
|
+
</property>
|
534
|
+
</spacer>
|
535
|
+
</item>
|
536
|
+
</layout>
|
537
|
+
</item>
|
538
|
+
<item>
|
539
|
+
<layout class="QVBoxLayout" name="plotting_layout" stretch="7,0,2">
|
540
|
+
<item>
|
541
|
+
<widget class="BECWaveformWidget" name="bec_waveform_widget">
|
542
|
+
<property name="minimumSize">
|
543
|
+
<size>
|
544
|
+
<width>600</width>
|
545
|
+
<height>450</height>
|
546
|
+
</size>
|
547
|
+
</property>
|
548
|
+
<property name="clear_curves_on_plot_update" stdset="0">
|
549
|
+
<bool>true</bool>
|
550
|
+
</property>
|
551
|
+
</widget>
|
552
|
+
</item>
|
553
|
+
<item>
|
554
|
+
<widget class="ToggleSwitch" name="toggle_switch">
|
555
|
+
<property name="sizePolicy">
|
556
|
+
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
557
|
+
<horstretch>3</horstretch>
|
558
|
+
<verstretch>0</verstretch>
|
559
|
+
</sizepolicy>
|
560
|
+
</property>
|
561
|
+
<property name="toolTip">
|
562
|
+
<string>Activate linear region select for LMFit</string>
|
563
|
+
</property>
|
564
|
+
<property name="layoutDirection">
|
565
|
+
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
566
|
+
</property>
|
567
|
+
<property name="checked" stdset="0">
|
568
|
+
<bool>false</bool>
|
569
|
+
</property>
|
570
|
+
</widget>
|
571
|
+
</item>
|
572
|
+
<item>
|
573
|
+
<layout class="QHBoxLayout" name="fit_dialog_layout" stretch="4">
|
574
|
+
<item>
|
575
|
+
<widget class="LMFitDialog" name="lm_fit_dialog">
|
576
|
+
<property name="sizePolicy">
|
577
|
+
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
578
|
+
<horstretch>0</horstretch>
|
579
|
+
<verstretch>0</verstretch>
|
580
|
+
</sizepolicy>
|
581
|
+
</property>
|
582
|
+
<property name="minimumSize">
|
583
|
+
<size>
|
584
|
+
<width>0</width>
|
585
|
+
<height>190</height>
|
586
|
+
</size>
|
587
|
+
</property>
|
588
|
+
<property name="always_show_latest" stdset="0">
|
589
|
+
<bool>true</bool>
|
590
|
+
</property>
|
591
|
+
<property name="hide_curve_selection" stdset="0">
|
592
|
+
<bool>true</bool>
|
593
|
+
</property>
|
594
|
+
<property name="hide_summary" stdset="0">
|
595
|
+
<bool>true</bool>
|
596
|
+
</property>
|
597
|
+
</widget>
|
598
|
+
</item>
|
599
|
+
</layout>
|
600
|
+
</item>
|
601
|
+
</layout>
|
602
|
+
</item>
|
603
|
+
</layout>
|
604
|
+
</widget>
|
605
|
+
<widget class="QWidget" name="tab_2">
|
606
|
+
<attribute name="title">
|
607
|
+
<string>Logbook</string>
|
608
|
+
</attribute>
|
609
|
+
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
610
|
+
<property name="leftMargin">
|
611
|
+
<number>2</number>
|
612
|
+
</property>
|
613
|
+
<property name="topMargin">
|
614
|
+
<number>2</number>
|
615
|
+
</property>
|
616
|
+
<property name="rightMargin">
|
617
|
+
<number>2</number>
|
618
|
+
</property>
|
619
|
+
<property name="bottomMargin">
|
620
|
+
<number>2</number>
|
621
|
+
</property>
|
622
|
+
<item>
|
623
|
+
<widget class="WebsiteWidget" name="website_widget">
|
624
|
+
<property name="url" stdset="0">
|
625
|
+
<string>https://scilog.psi.ch/login</string>
|
626
|
+
</property>
|
627
|
+
</widget>
|
628
|
+
</item>
|
629
|
+
</layout>
|
630
|
+
</widget>
|
631
|
+
</widget>
|
632
|
+
</item>
|
633
|
+
</layout>
|
634
|
+
</item>
|
635
|
+
<item>
|
636
|
+
<widget class="BECProgressBar" name="bec_progress_bar">
|
637
|
+
<property name="minimumSize">
|
638
|
+
<size>
|
639
|
+
<width>0</width>
|
640
|
+
<height>25</height>
|
641
|
+
</size>
|
642
|
+
</property>
|
643
|
+
<property name="maximumSize">
|
644
|
+
<size>
|
645
|
+
<width>16777215</width>
|
646
|
+
<height>25</height>
|
647
|
+
</size>
|
648
|
+
</property>
|
649
|
+
</widget>
|
650
|
+
</item>
|
651
|
+
</layout>
|
652
|
+
</widget>
|
653
|
+
<customwidgets>
|
654
|
+
<customwidget>
|
655
|
+
<class>DapComboBox</class>
|
656
|
+
<extends>QWidget</extends>
|
657
|
+
<header>dap_combo_box</header>
|
658
|
+
</customwidget>
|
659
|
+
<customwidget>
|
660
|
+
<class>StopButton</class>
|
661
|
+
<extends>QWidget</extends>
|
662
|
+
<header>stop_button</header>
|
663
|
+
</customwidget>
|
664
|
+
<customwidget>
|
665
|
+
<class>WebsiteWidget</class>
|
666
|
+
<extends>QWidget</extends>
|
667
|
+
<header>website_widget</header>
|
668
|
+
</customwidget>
|
669
|
+
<customwidget>
|
670
|
+
<class>ScanControl</class>
|
671
|
+
<extends>QWidget</extends>
|
672
|
+
<header>scan_control</header>
|
673
|
+
</customwidget>
|
674
|
+
<customwidget>
|
675
|
+
<class>ToggleSwitch</class>
|
676
|
+
<extends>QWidget</extends>
|
677
|
+
<header>toggle_switch</header>
|
678
|
+
</customwidget>
|
679
|
+
<customwidget>
|
680
|
+
<class>PositionerBox</class>
|
681
|
+
<extends>QWidget</extends>
|
682
|
+
<header>positioner_box</header>
|
683
|
+
</customwidget>
|
684
|
+
<customwidget>
|
685
|
+
<class>BECProgressBar</class>
|
686
|
+
<extends>QWidget</extends>
|
687
|
+
<header>bec_progress_bar</header>
|
688
|
+
</customwidget>
|
689
|
+
<customwidget>
|
690
|
+
<class>DarkModeButton</class>
|
691
|
+
<extends>QWidget</extends>
|
692
|
+
<header>dark_mode_button</header>
|
693
|
+
</customwidget>
|
694
|
+
<customwidget>
|
695
|
+
<class>BECWaveformWidget</class>
|
696
|
+
<extends>QWidget</extends>
|
697
|
+
<header>bec_waveform_widget</header>
|
698
|
+
</customwidget>
|
699
|
+
<customwidget>
|
700
|
+
<class>DeviceComboBox</class>
|
701
|
+
<extends>QComboBox</extends>
|
702
|
+
<header>device_combobox</header>
|
703
|
+
</customwidget>
|
704
|
+
<customwidget>
|
705
|
+
<class>LMFitDialog</class>
|
706
|
+
<extends>QWidget</extends>
|
707
|
+
<header>lm_fit_dialog</header>
|
708
|
+
</customwidget>
|
709
|
+
</customwidgets>
|
710
|
+
<tabstops>
|
711
|
+
<tabstop>device_combobox</tabstop>
|
712
|
+
<tabstop>device_combobox_2</tabstop>
|
713
|
+
<tabstop>tabWidget_2</tabstop>
|
714
|
+
<tabstop>linescan_start</tabstop>
|
715
|
+
<tabstop>linescan_stop</tabstop>
|
716
|
+
<tabstop>linescan_step</tabstop>
|
717
|
+
<tabstop>linescan_relative</tabstop>
|
718
|
+
<tabstop>linescan_exp_time</tabstop>
|
719
|
+
<tabstop>linescan_step_2</tabstop>
|
720
|
+
<tabstop>scan_button</tabstop>
|
721
|
+
</tabstops>
|
722
|
+
<resources/>
|
723
|
+
<connections>
|
724
|
+
<connection>
|
725
|
+
<sender>device_combobox</sender>
|
726
|
+
<signal>currentTextChanged(QString)</signal>
|
727
|
+
<receiver>dap_combo_box</receiver>
|
728
|
+
<slot>select_x_axis(QString)</slot>
|
729
|
+
<hints>
|
730
|
+
<hint type="sourcelabel">
|
731
|
+
<x>162</x>
|
732
|
+
<y>170</y>
|
733
|
+
</hint>
|
734
|
+
<hint type="destinationlabel">
|
735
|
+
<x>467</x>
|
736
|
+
<y>170</y>
|
737
|
+
</hint>
|
738
|
+
</hints>
|
739
|
+
</connection>
|
740
|
+
<connection>
|
741
|
+
<sender>device_combobox_2</sender>
|
742
|
+
<signal>currentTextChanged(QString)</signal>
|
743
|
+
<receiver>dap_combo_box</receiver>
|
744
|
+
<slot>select_y_axis(QString)</slot>
|
745
|
+
<hints>
|
746
|
+
<hint type="sourcelabel">
|
747
|
+
<x>297</x>
|
748
|
+
<y>170</y>
|
749
|
+
</hint>
|
750
|
+
<hint type="destinationlabel">
|
751
|
+
<x>467</x>
|
752
|
+
<y>170</y>
|
753
|
+
</hint>
|
754
|
+
</hints>
|
755
|
+
</connection>
|
756
|
+
<connection>
|
757
|
+
<sender>dap_combo_box</sender>
|
758
|
+
<signal>new_dap_config(QString,QString,QString)</signal>
|
759
|
+
<receiver>bec_waveform_widget</receiver>
|
760
|
+
<slot>add_dap(QString,QString,QString)</slot>
|
761
|
+
<hints>
|
762
|
+
<hint type="sourcelabel">
|
763
|
+
<x>467</x>
|
764
|
+
<y>170</y>
|
765
|
+
</hint>
|
766
|
+
<hint type="destinationlabel">
|
767
|
+
<x>1099</x>
|
768
|
+
<y>221</y>
|
769
|
+
</hint>
|
770
|
+
</hints>
|
771
|
+
</connection>
|
772
|
+
<connection>
|
773
|
+
<sender>scan_button</sender>
|
774
|
+
<signal>clicked()</signal>
|
775
|
+
<receiver>scan_control</receiver>
|
776
|
+
<slot>run_scan()</slot>
|
777
|
+
<hints>
|
778
|
+
<hint type="sourcelabel">
|
779
|
+
<x>455</x>
|
780
|
+
<y>511</y>
|
781
|
+
</hint>
|
782
|
+
<hint type="destinationlabel">
|
783
|
+
<x>16</x>
|
784
|
+
<y>441</y>
|
785
|
+
</hint>
|
786
|
+
</hints>
|
787
|
+
</connection>
|
788
|
+
<connection>
|
789
|
+
<sender>device_combobox_2</sender>
|
790
|
+
<signal>currentTextChanged(QString)</signal>
|
791
|
+
<receiver>bec_waveform_widget</receiver>
|
792
|
+
<slot>plot(QString)</slot>
|
793
|
+
<hints>
|
794
|
+
<hint type="sourcelabel">
|
795
|
+
<x>297</x>
|
796
|
+
<y>170</y>
|
797
|
+
</hint>
|
798
|
+
<hint type="destinationlabel">
|
799
|
+
<x>1099</x>
|
800
|
+
<y>201</y>
|
801
|
+
</hint>
|
802
|
+
</hints>
|
803
|
+
</connection>
|
804
|
+
<connection>
|
805
|
+
<sender>device_combobox</sender>
|
806
|
+
<signal>currentTextChanged(QString)</signal>
|
807
|
+
<receiver>bec_waveform_widget</receiver>
|
808
|
+
<slot>set_x(QString)</slot>
|
809
|
+
<hints>
|
810
|
+
<hint type="sourcelabel">
|
811
|
+
<x>162</x>
|
812
|
+
<y>170</y>
|
813
|
+
</hint>
|
814
|
+
<hint type="destinationlabel">
|
815
|
+
<x>1099</x>
|
816
|
+
<y>258</y>
|
817
|
+
</hint>
|
818
|
+
</hints>
|
819
|
+
</connection>
|
820
|
+
<connection>
|
821
|
+
<sender>toggle_switch</sender>
|
822
|
+
<signal>enabled(bool)</signal>
|
823
|
+
<receiver>bec_waveform_widget</receiver>
|
824
|
+
<slot>toogle_roi_select(bool)</slot>
|
825
|
+
<hints>
|
826
|
+
<hint type="sourcelabel">
|
827
|
+
<x>529</x>
|
828
|
+
<y>728</y>
|
829
|
+
</hint>
|
830
|
+
<hint type="destinationlabel">
|
831
|
+
<x>1099</x>
|
832
|
+
<y>96</y>
|
833
|
+
</hint>
|
834
|
+
</hints>
|
835
|
+
</connection>
|
836
|
+
<connection>
|
837
|
+
<sender>bec_waveform_widget</sender>
|
838
|
+
<signal>dap_summary_update(QVariantMap,QVariantMap)</signal>
|
839
|
+
<receiver>lm_fit_dialog</receiver>
|
840
|
+
<slot>update_summary_tree(QVariantMap,QVariantMap)</slot>
|
841
|
+
<hints>
|
842
|
+
<hint type="sourcelabel">
|
843
|
+
<x>1099</x>
|
844
|
+
<y>258</y>
|
845
|
+
</hint>
|
846
|
+
<hint type="destinationlabel">
|
847
|
+
<x>1157</x>
|
848
|
+
<y>929</y>
|
849
|
+
</hint>
|
850
|
+
</hints>
|
851
|
+
</connection>
|
852
|
+
<connection>
|
853
|
+
<sender>device_combobox</sender>
|
854
|
+
<signal>currentTextChanged(QString)</signal>
|
855
|
+
<receiver>positioner_box</receiver>
|
856
|
+
<slot>set_positioner(QString)</slot>
|
857
|
+
<hints>
|
858
|
+
<hint type="sourcelabel">
|
859
|
+
<x>109</x>
|
860
|
+
<y>155</y>
|
861
|
+
</hint>
|
862
|
+
<hint type="destinationlabel">
|
863
|
+
<x>160</x>
|
864
|
+
<y>286</y>
|
865
|
+
</hint>
|
866
|
+
</hints>
|
867
|
+
</connection>
|
868
|
+
</connections>
|
869
|
+
</ui>
|