MCPcopy Create free account
hub / github.com/MITK/MITK / inputValidator

Method inputValidator

Modules/QtWidgets/src/QmitkLevelWindowRangeChangeDialog.cpp:50–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void QmitkLevelWindowRangeChangeDialog::inputValidator()
51{
52 if (!(m_Controls->rangeMinDoubleSpinBox->value() < m_Controls->rangeMaxDoubleSpinBox->value()))
53 {
54 QMessageBox::critical(this,
55 "Change Range",
56 "Upper limit has to be greater than lower limit.\n"
57 "Please enter limits again.");
58 }
59 else
60 this->accept();
61}

Callers

nothing calls this directly

Calls 2

valueMethod · 0.45
acceptMethod · 0.45

Tested by

no test coverage detected