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

Method fileListSelectionChanged

src/testcaseeditwidget.cpp:143–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void TestCaseEditWidget::fileListSelectionChanged() {
144 if (! editTestCase)
145 return;
146
147 QList<QTableWidgetSelectionRange> range = ui->fileList->selectedRanges();
148
149 if (range.size() == 1 && range[0].columnCount() == 2) {
150 deleteAction->setEnabled(true);
151 } else {
152 deleteAction->setEnabled(false);
153 }
154}
155
156void TestCaseEditWidget::fileListItemChanged(QTableWidgetItem *item) {
157 if (! editTestCase)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected