projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix up change handler registration
[pulseview.git]
/
pv
/
views
/
trace
/
decodetrace.cpp
diff --git
a/pv/views/trace/decodetrace.cpp
b/pv/views/trace/decodetrace.cpp
index c2f3cebe5b7b40c14b23ca8e922a2faebdcb1a0c..f68ded99edd92f2adec0fa47d5bb53c16cde3b16 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)
@@
-709,6
+711,8
@@
const QString DecodeTrace::get_annotation_at_point(const QPoint &point)
void DecodeTrace::hover_point_changed(const QPoint &hp)
{
void DecodeTrace::hover_point_changed(const QPoint &hp)
{
+ Trace::hover_point_changed(hp);
+
assert(owner_);
const View *const view = owner_->view();
assert(owner_);
const View *const view = owner_->view();