MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / stopProgressTracking

Method stopProgressTracking

ASAP/FilterDockWidget.cpp:134–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void FilterDockWidget::stopProgressTracking() {
135 if (_currentSelection) {
136 std::shared_ptr<ImageFilterPluginInterface> filter = _currentSelection->data(Qt::UserRole).value<std::shared_ptr<ImageFilterPluginInterface> >();
137 if (filter) {
138 filter->setProgressMonitor(NULL);
139 }
140 _progressBar->setValue(0);
141 }
142}
143
144void FilterDockWidget::onNewImageLoaded(MultiResolutionImage* img) {
145 if (_availableFilters) {

Callers

nothing calls this directly

Calls 2

setValueMethod · 0.80
setProgressMonitorMethod · 0.45

Tested by

no test coverage detected