Skip to content
Snippets Groups Projects
Commit 2c8b9f79 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

SphericalDetectorWidget functionality restored

parent adf7dea3
No related branches found
No related tags found
No related merge requests found
......@@ -94,14 +94,10 @@ void SphericalDetectorWidget::setDetectorItem(SessionItem* detectorItem)
SessionItem* analysisDirection = detectorItem->getItem(DetectorItem::P_ANALYZER_DIRECTION);
m_polarizationAnalysisEditor->setItem(analysisDirection);
// TODO FIXME together with rectangular detector
// Provide method ComponentEditor::addItem or better make separate AnalyzerItem
// to enable editors for P_ANALYZER_EFFICIENCY and P_ANALYZER_TOTAL_TRANSMISSION
// m_polarizationAnalysisEditor->addItem(
// detectorItem->getItem(DetectorItem::P_ANALYZER_EFFICIENCY));
// m_polarizationAnalysisEditor->addItem(
// detectorItem->getItem(DetectorItem::P_ANALYZER_TOTAL_TRANSMISSION));
m_polarizationAnalysisEditor->addItem(
detectorItem->getItem(DetectorItem::P_ANALYZER_EFFICIENCY));
m_polarizationAnalysisEditor->addItem(
detectorItem->getItem(DetectorItem::P_ANALYZER_TOTAL_TRANSMISSION));
}
void SphericalDetectorWidget::onColumnResizerDestroyed(QObject* object)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment