Add test code to count events
Revert "Add test code to count events"

This reverts commit b05dbb56b056088427a54d1c03a114d6aff309f6.
Add pentool, penciltoo, erasertool to drawing brush strokes with QPainterPath
Try timebased scaleFactor
line length based tangent calculation is just mor stable