MCPcopy Create free account
hub / github.com/KDE/labplot / setInvalid

Method setInvalid

src/frontend/widgets/NumberSpinBox.cpp:503–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501}
502
503void NumberSpinBox::setInvalid(const QString& str) {
504 if (!str.isEmpty())
505 SET_WARNING_PALETTE
506 else
507 setPalette(qApp->palette());
508 setToolTip(str);
509}
510
511void NumberSpinBox::setInvalid(Errors e) {
512 setInvalid(errorToString(e));

Callers 1

setColumnsMethod · 0.45

Calls 2

setToolTipFunction · 0.85
isEmptyMethod · 0.45

Tested by

no test coverage detected