SpinButton.setNumeric

void setNumeric(bool numeric)

Sets the flag that determines if non-numeric text can be typed into the spin button.

Parameters

numericflag indicating if only numeric entry is allowed