Luckily, the spin box appearance can be changed by Style Sheet.
To get “Wheel Diameter” style spin box, use following style sheet:
QSpinBox { border: 3px inset grey; }
QSpinBox::up-button { subcontrol-position: left; width: 40px; height: 35px;}
QSpinBox::down-button { subcontrol-position: right; width: 40px; height: 35px;}
To get “Pulses per Revolution” style spin box, use following style sheet:
QSpinBox { border: 3px outset grey;padding-right: 40px;}
QSpinBox::up-button { subcontrol-position: right; right: 40px; width: 40px; height: 35px;}
QSpinBox::down-button { subcontrol-position: right; width: 40px; height: 35px;}
To get “Count” style spin box, use following style sheet:
QSpinBox { border: 3px groove gray}
QSpinBox::up-button { subcontrol-position: top right; width: 40px; height: 19px;}
QSpinBox::down-button { subcontrol-position: bottom right; width: 40px; height: 19px;}