MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / textFromValue

Method textFromValue

src/widgets.cpp:447–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447QString SpinExclude::textFromValue(int value) const
448{
449 QString txt = QSpinBox::textFromValue(value);
450 if (value == 0)
451 txt += " " + tr("(ignore)");
452 if (value == -1)
453 txt += " " + tr("(exclude)");
454 return txt;
455}
456
457void SpinExclude::change(int v)
458{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected