Changed QT spinboxes to doubles