Helge Hafting wrote: >> So for adjusting qt without touching xforms we need to set the scrollbar >> value without invoking the signal. Something like the attached works >> (altough it is not so nice maybe). Alternatively, we can just disconnect >> the signal before setValue and reconnect it after. Other ideas welcomed. > > It just seems strange to do a lot of work to avoid automatic drawing. > Drawing is needed at this point anyway, so let it draw and just loose the > explicit drawing that only xforms need.
I think it's not true, as we know the cursor y position (and thus the scrollbar value) only after a redraw. So this would add an unneeded extra redraw. Alfredo
