use QSpinBox
reorganize settings dialog