]> sigrok.org Git - pulseview.git/commit
Show relative time of flags on hover
authorjaseg <redacted>
Mon, 10 Jun 2019 03:56:32 +0000 (12:56 +0900)
committerUwe Hermann <redacted>
Fri, 5 Jul 2019 20:49:08 +0000 (22:49 +0200)
commit710c2a1896fbac968c82f2d1257aaabd10a48cc8
tree799d5509fb883fc9847dd1173a335d6c56ee7b1d
parentee7fd68c0851423c9a5c6ce244ba3fb4e28bbfc3
Show relative time of flags on hover

With this change, when the mouse hovers over any flag or cursor, the
flags change labels to show their time relative to the item being
hovered over. When hovering over the interval label of a cursor pair,
the relative time to the nearest end of the interval is shown. While
pressing shift, the regular labels are shown again.
16 files changed:
pv/views/trace/cursorpair.cpp
pv/views/trace/cursorpair.hpp
pv/views/trace/flag.cpp
pv/views/trace/flag.hpp
pv/views/trace/marginwidget.cpp
pv/views/trace/ruler.cpp
pv/views/trace/ruler.hpp
pv/views/trace/timeitem.hpp
pv/views/trace/timemarker.cpp
pv/views/trace/timemarker.hpp
pv/views/trace/triggermarker.cpp
pv/views/trace/triggermarker.hpp
pv/views/trace/view.cpp
pv/views/trace/view.hpp
pv/views/trace/viewwidget.cpp
pv/views/trace/viewwidget.hpp