SpinButton.setNumeric

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

class SpinButton
void
setNumeric
(
bool numeric
)

Parameters

numeric bool

flag indicating if only numeric entry is allowed