MCPcopy Create free account
hub / github.com/SpartanJ/eepp / setAllowOnlyNumbers

Method setAllowOnlyNumbers

src/eepp/ui/uitextinput.cpp:943–946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

941}
942
943void UITextInput::setAllowOnlyNumbers( const bool& onlyNumbers, const bool& allowFloat ) {
944 mOnlyNumbers = onlyNumbers;
945 mAllowFloat = allowFloat;
946}
947
948bool UITextInput::onlyNumbersAllowed() const {
949 return mOnlyNumbers;

Callers 6

createDocumentMenuMethod · 0.80
createRendererMenuMethod · 0.80
setLineBreakingColumnMethod · 0.80
UISpinBoxMethod · 0.80
allowFloatingPointMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected