Cursor position-dependent Spinbox stepsize

Pressing up and down in a Spinbox increments or decrements the value
dependet on at which digit the cursor is placed (like in Labview). Works
for now but can be imporved.