MCPcopy Create free account
hub / github.com/IENT/YUView / on_pushButtonDeleteMap_clicked

Method on_pushButtonDeleteMap_clicked

YUViewLib/src/ui/Statisticsstylecontrol.cpp:385–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385void StatisticsStyleControl::on_pushButtonDeleteMap_clicked()
386{
387 auto itemName = this->ui.comboBoxCustomMap->currentText();
388 if (itemName.isEmpty())
389 return;
390
391 this->customColorMapStorage.remove(itemName);
392 this->refreshComboBoxCustomMapFromStorage();
393 QSignalBlocker blockerPredefined(this->ui.comboBoxCustomMap);
394 this->ui.comboBoxCustomMap->setCurrentIndex(-1);
395}
396
397void StatisticsStyleControl::on_comboBoxVectorLineStyle_currentIndexChanged(int index)
398{

Callers

nothing calls this directly

Calls 3

removeMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected