add save / restore statesupport for QDoubleSpinBox