add ValueSpinBox

The ValueSpinBox acts like a QDoubleSpinBox, except that it allows the
user to type units, e.g. "1mm" or "1.2pt". Supported units are point
(pt), millimeter (mm), centimeter (cm) and inch (in).