projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #770 by adding a vertical hover line and a setting for it
[pulseview.git]
/
pv
/
views
/
trace
/
decodetrace.cpp
diff --git
a/pv/views/trace/decodetrace.cpp
b/pv/views/trace/decodetrace.cpp
index c2f3cebe5b7b40c14b23ca8e922a2faebdcb1a0c..d2b7463612b6514bbbc31b8837bcdc6bb3d5cedb 100644
(file)
--- a/
pv/views/trace/decodetrace.cpp
+++ b/
pv/views/trace/decodetrace.cpp
@@
-53,7
+53,6
@@
extern "C" {
#include <pv/widgets/decodermenu.hpp>
using std::abs;
#include <pv/widgets/decodermenu.hpp>
using std::abs;
-using std::all_of;
using std::make_pair;
using std::max;
using std::min;
using std::make_pair;
using std::max;
using std::min;
@@
-256,6
+255,9
@@
void DecodeTrace::paint_fore(QPainter &p, ViewItemPaintParams &pp)
p.setPen(QApplication::palette().color(QPalette::WindowText));
p.drawText(r, f, h);
}
p.setPen(QApplication::palette().color(QPalette::WindowText));
p.drawText(r, f, h);
}
+
+ if (show_hover_marker_)
+ paint_hover_marker(p);
}
void DecodeTrace::populate_popup_form(QWidget *parent, QFormLayout *form)
}
void DecodeTrace::populate_popup_form(QWidget *parent, QFormLayout *form)