Treeview for markers, added peak table function

This commit is contained in:
Jan Käberich 2020-11-03 00:37:06 +01:00
parent 8d71cd6541
commit 3358861114
9 changed files with 307 additions and 106 deletions

View file

@ -40,6 +40,9 @@ void TraceSmithChart::mousePressEvent(QMouseEvent *event)
for(auto t : traces) {
auto markers = t.first->getMarkers();
for(auto m : markers) {
if(!m->isMovable()) {
continue;
}
auto S = m->getData();
auto markerPoint = plotToPixel(S);
auto yDiff = abs(markerPoint.y() - clickPoint.y());