projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DecodeTrace: Remove hide_hover_annotation() as it's only used once
[pulseview.git]
/
pv
/
view
/
cursorheader.hpp
diff --git
a/pv/view/cursorheader.hpp
b/pv/view/cursorheader.hpp
index 90a000f17997779cd613cef40e2f042e0305d787..5ae2a253fc6afcf0d556bd64d65eb5c8c37ea4c9 100644
(file)
--- a/
pv/view/cursorheader.hpp
+++ b/
pv/view/cursorheader.hpp
@@
-28,7
+28,7
@@
namespace pv {
namespace view {
namespace pv {
namespace view {
-class Time
Marker
;
+class Time
Item
;
/**
* Widget to hold the labels over the cursors.
/**
* Widget to hold the labels over the cursors.
@@
-58,12
+58,11
@@
private:
void mouseMoveEvent(QMouseEvent *e);
void mousePressEvent(QMouseEvent *e);
void mouseReleaseEvent(QMouseEvent *);
void mouseMoveEvent(QMouseEvent *e);
void mousePressEvent(QMouseEvent *e);
void mouseReleaseEvent(QMouseEvent *);
+ void leaveEvent(QEvent*);
int calculateTextHeight();
int calculateTextHeight();
- std::weak_ptr<TimeMarker> grabbed_marker_;
- QPoint mouse_down_point_;
- bool dragging_;
+ std::shared_ptr<TimeItem> mouse_down_item_;
const int textHeight_;
};
const int textHeight_;
};