Greetings, I would consider this a potential bug. If you look carefully at the documentation the 'sigValueChanged' works on bool checkboxes, but not the 'sigValueChanging'. The description of the method would seem to indicate it should emit a value -> Emitted immediately for all value changes, including during editing.
Regards, J - On Thursday, May 7, 2020 at 8:47:47 PM UTC-5, JMA 1 wrote: > > Sorry - small typographical error in the code > replace -> date_append was date_time_append; two places in the PT class > > This causes a match with 'time' twice, on two different children. > > The Parameter / ParameterTree behavior is still incorrect and the > 'connect' does not trigger on the checkbox / bool. > > > Cheers, > J - > > On Thursday, May 7, 2020 at 8:36:24 PM UTC-5, JMA 1 wrote: >> >> Greetings, >> I'm finding the bool checkbox items in the ParameterTree / Parameter not >> working on the connect sigValueChanging (.sigValueChanging.Connect() ). >> Please see the example attached. In this crude example, I override the >> default values in the group. To trigger the value changed, press the right >> hand side "un-do" control. This triggers on the float and string, but not >> the bool checkbox. The output is listed below, including the connect added >> to each child. Typing into the float and string fields trigger the >> signal. Manually checking/unchecking the bool value does not signal. >> >> Any suggestions? Thank you. >> >> Output: >> grp par_value >> grp/chld: par_value / path >> added path connect >> grp/chld: par_value / date_time_append >> added time connect >> grp/chld: par_value / time >> added time connect >> path adjust string reached >> time adjust float reached >> >> Cheers, >> J- >> >> -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/3de954b3-15bf-4ed3-a22a-c93f7691d5a4%40googlegroups.com.
