Rewrite of Engauge Digitizer from Qt3/Qt4 to Qt5