qudi icon indicating copy to clipboard operation
qudi copied to clipboard

Last spin box/text field change is not applied when clicking a button

Open drogenlied opened this issue 7 years ago • 3 comments

Migration: trac#34.

Example: Starting a scan triggers editingFinished for input fields after processing the signal from the start button and makes the scan with the old values.

drogenlied avatar Feb 02 '17 13:02 drogenlied

It is possible to fix this by using valueChanged instead of editingFiniahed, but that causes errors when entries are incomplete. For example, divorce would complain if you typed a "-" character before any numbers. However, since we now use spin boxes they are giving us implicit input parsing and perhaps we could go back to valueChanged.

drogenlied avatar Feb 02 '17 13:02 drogenlied

This is been resolved.

liuyanulm avatar Oct 07 '20 10:10 liuyanulm

This is a general problem of almost any GUI in qudi. We should only close this PR if we have solved this issue in a general way by some workaround or Qt changing its behaviour (unlikely).

Neverhorst avatar Oct 07 '20 11:10 Neverhorst