If you have a set of special values then a QComboBox like suggested by Ginsengelf could also be extended to have one value for "range" and which enables/shows the spinbox when selected.
If you have one special value, you could use QSpinBox::setSpecialValueText().
It displays a custom text instead of the numerical value for the spinbox' minimum.
You could have possibly multiple special values at the beginning or the end by deriving from QSpinBox and overwrite textFromValue() such that the numbers are not displayed but a special text.
Cheers,
_
Bookmarks