Thank you
Have done initial setup with Qt (still need more work on bells and whistels)
and it looks like working
File attached +
one change in qt_auto_probe_tool.ngc (right before M6)
M66 E0 L0
o250 do
M101 P#<tool>
M66 E0 L0
; cancel pressed
o260 if [#5399 EQ 2]
(MSG, Cancel has been pressed )
G43 ;turn back on tool offset mode before returning
o260 return [3] ; indicate no tool measurement
o260 endif
o270 if [#5399 EQ 10]
;(MSG, ToolChange has been pressed )
o<pnc_tc_manual> call
O270 endif
; anything other than OK button
o250 while [#5399 NE 1]
M6
And it works close to how I want it for now
Current TODO - check if I can do the window it modal and top of all for all the time, but its minor