guijar_m
e2f074b1aa
fix: make main() function working, to be able to test out of Qt Designer
2024-07-03 14:10:04 +02:00
guijar_m
011103fde3
refactor: put QTreeWidget in a container, rather than inheriting from it, and avoid multiple inheritance of BECConnector
...
Inheriting from QTreeWidget causes havoc with display (see #245 ),
also it is important to parent items OR to give them a label (weird)
otherwise it also has display glitches.
Most of the time, composition has to be preferred over inheritance ;
inheritance is a question of behaviour - is the behaviour the same ?
Here, a widget is really not a BECConnector, but uses a BECConnector
(at least this is my understanding). Because a Widget and BECConnector
do not behave the same. It is easier, lighter to deal with single
inheritance.
The singleton usage is superfluous, since the underlying client is already
a singleton. Multiple BECConnector objects can be created, there won't
be more connections.
BECServiceStatusMixin has been removed in favor of the widget's own timer,
since it was causing "QObject::killTimer: Timers cannot be stopped from
another thread" errors (at least on my computer).
Also removes "redundant items check" ; where do those would come from?
2024-07-03 14:09:55 +02:00
guijar_m
f90bc00c18
fix: make error StatusMessage in case service info msg is None
...
Makes handling of status easier, no need for special cases
2024-07-03 14:09:55 +02:00
appel_c
63a0056388
fix: add designer plugin classes
2024-07-03 14:09:55 +02:00
appel_c
5d435bd5ee
refactor: simplify logic in bec_status_box
2024-07-03 14:05:45 +02:00
wyzula_j
b8774e0b0b
fix(toolbar): change default color to black to match BECFigure theme
2024-07-03 10:34:05 +02:00
wyzula_j
6e75642090
feat(motor_map_widget): standalone MotorMap Widget with toolbar + plugin
2024-07-03 10:34:05 +02:00
wyzula_j
aaa0d1003d
fix(motor_map): fixed bug with residual trace after changing motors
2024-07-03 10:34:05 +02:00
wyzula_j
5960918137
feat(motor_map): method to reset history trace
2024-07-03 10:34:05 +02:00
wyzula_j
96863adf53
refactor(toolbar): cleanup and adjusted colors
2024-07-03 10:34:05 +02:00
wyzula_j
c36bb80d6a
feat(color_button): patched ColorButton from pyqtgraph to be able to be opened in another QDialog
2024-07-02 20:54:39 +02:00
wyzula_j
215d59c8bf
fix(waveform): scatter 2D brush error
2024-07-02 12:43:56 +02:00
wyzula_j
008a33a9b1
fix(figure): API cleanup
2024-07-02 12:43:38 +02:00
wyzula_j
3e787234c7
fix(figure): if/else logic corrected in subplot_factory
2024-07-02 12:43:38 +02:00
wyzula_j
1173510105
fix(image): processing of already displayed data; closes #106
2024-07-02 12:43:38 +02:00
wyzula_j
a391f3018c
feat(bec_connector): export config to yaml
2024-07-02 12:43:38 +02:00
wyzula_j
b6e1e20b7c
fix(bec_figure): full reconstruction with config from other bec figure
2024-07-02 12:43:38 +02:00
wyzula_j
2e2d422910
fix(motor_map): API changes updates current visualisation; motor_map can be initialised from config
2024-07-02 12:43:38 +02:00
wyzula_j
f0556e4411
fix(image): image add_custom_image fixed, closes #225
2024-07-02 12:43:38 +02:00
wyzula_j
797f73c39a
fix(image): image can be fully reconstructed from config
2024-07-02 12:43:38 +02:00
wyzula_j
b8f796fd3f
fix(image_item): vrange added int for pydantic model check
2024-07-02 12:43:38 +02:00
wyzula_j
78673ea11a
fix(bec_figure): waveforms can be initialised from the config; widgets are deleteLater after removal
2024-07-02 12:43:38 +02:00
guijar_m
c6a14c0768
Resolve "add VT100 console executing BEC as a widget"
2024-07-01 15:11:09 +02:00
wakonig_k
0610d2f9f0
fix: fixed qwidget inheritance for ring progress bar
2024-06-28 12:12:18 +02:00
wyzula_j
a45c407568
fix:parent set as first kwarg TextBox and WebsiteWidget
2024-06-27 17:47:08 +02:00
wakonig_k
3faee98ec8
feat(widgets): added simple bec queue widget
2024-06-26 20:42:37 +02:00
wyzula_j
c8b7367815
fix(rings): rings properties updated right after setting
2024-06-26 11:46:21 +02:00
wyzula_j
6b25abff70
fix(motor_map): motor map can be removed from BECFigure with .remove()
2024-06-26 11:24:46 +02:00
wyzula_j
1866ba66c8
feat(waveform1d): dap LMFit model can be added to plot
2024-06-25 18:37:20 +02:00
wakonig_k
7120f3e93b
fix(vscode): only run terminate if the process is still alive
2024-06-25 18:17:02 +02:00
wakonig_k
acc13183e2
fix(rpc): trigger shutdown of server when gui is terminated
2024-06-25 16:45:39 +02:00
wakonig_k
1de3cbf65a
fix(ringprogressbar): removed hard-coded endpoint strings
2024-06-25 12:18:14 +02:00
appel_c
df812eaad5
feat: add new default scaling of image_item
2024-06-25 11:58:55 +02:00
wakonig_k
e5c0087c9a
fix: renamed spiral progress bar to ring progress bar; closes #235
2024-06-24 16:37:36 +02:00
appel_c
4348ed1bb2
test: bugfix to prohibit leackage of mock
2024-06-24 14:04:42 +02:00
wyzula_j
83001a0d82
test(scan_control):e2e tests added
2024-06-23 12:53:15 +02:00
wyzula_j
8badb6adc1
fix(cleanup): cleanup added to device_input widgets and scan_control
2024-06-23 12:12:20 +02:00
wyzula_j
37682e7b8a
fix(scan_group_box): added row counter based on widgets
2024-06-23 12:11:30 +02:00
wyzula_j
ec4574ed5c
fix(scan_control): added default min limit for args bundle if specified
2024-06-23 12:11:30 +02:00
wyzula_j
21d20e0fc7
fix(device_line_edit):SizePolicy fixed for 100 horizontal
2024-06-23 12:11:30 +02:00
wyzula_j
7ce3a83c58
fix(scan_control): argbox delete later added to prevent overlapping gui if scan changed
2024-06-23 12:11:30 +02:00
wyzula_j
6dff1879c4
fix(scan_control): only scans with defined gui_config are allowed
2024-06-23 12:11:30 +02:00
wyzula_j
c09644b29d
tests WIP
2024-06-23 12:11:30 +02:00
wyzula_j
d8cf44134c
feat(scan_group_box): scan box for args and kwargs separated from ScanControlGUI code
2024-06-23 12:11:30 +02:00
wyzula_j
4e2c9df6a4
refactor(device_line_edit): renamed default_device to default
2024-06-23 12:11:27 +02:00
wyzula_j
8b822e0fa8
fix(scan_control): adapted widget to scan BEC gui config
2024-06-23 12:10:33 +02:00
wyzula_j
67d398caf7
fix(scan_control): scan_control.py combatible with the newest BEC versions, test disabled
2024-06-23 12:10:33 +02:00
wyzula_j
50b3422528
fix(bec-desiger+plugins): imports fixed, PYSIDE6 check to not enable run plugins with pyqt6
2024-06-21 18:34:20 +02:00
wyzula_j
4639eee0b9
feat(bec-designer): automatic plugin discovery
2024-06-21 18:34:20 +02:00
wyzula_j
b4b27aea3d
feat(device_line_edit): plugin added to bec-designer
2024-06-21 17:40:53 +02:00