MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / subtaskDependenceChanged

Method subtaskDependenceChanged

src/testcaseeditwidget.cpp:169–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void TestCaseEditWidget::subtaskDependenceChanged() {
170 const QString &text = ui->subtaskDependecne->text();
171
172 if (! editTestCase)
173 return;
174
175 QStringList list = text.isEmpty() ? QStringList() : text.split(',');
176
177 if (editTestCase->checkDependenceSubtask(list)) {
178 // QMessageBox::information(this, tr("Information"), tr("Finished!"), QMessageBox::Close);
179 editTestCase->setDependenceSubtask(list);
180 } else {
181 ui->subtaskDependecne->setFocus();
182 // ui->subtaskDependecne->set
183 QMessageBox::warning(this, tr("Error"), tr("Dependence subtask index error!"), QMessageBox::Close);
184 }
185}
186
187void TestCaseEditWidget::subtaskDependenceClear() {
188 ui->subtaskDependecne->clear();

Callers

nothing calls this directly

Calls 2

setDependenceSubtaskMethod · 0.80

Tested by

no test coverage detected