projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added header time hover arrow
[pulseview.git]
/
pv
/
view
/
ruler.h
diff --git
a/pv/view/ruler.h
b/pv/view/ruler.h
index f855185b904a75209ce521ec12c4399913bd6d5e..1bda06427d253787389d1c87ca59dda26ad9fe71 100644
(file)
--- a/
pv/view/ruler.h
+++ b/
pv/view/ruler.h
@@
-39,12
+39,23
@@
private:
static const QString SIPrefixes[9];
static const int FirstSIPrefixPower;
static const QString SIPrefixes[9];
static const int FirstSIPrefixPower;
+ static const int HoverArrowSize;
+
public:
Ruler(View &parent);
private:
void paintEvent(QPaintEvent *event);
public:
Ruler(View &parent);
private:
void paintEvent(QPaintEvent *event);
+private:
+ /**
+ * Draw a hover arrow under the cursor position.
+ */
+ void draw_hover_mark(QPainter &p);
+
+private slots:
+ void hover_point_changed();
+
private:
View &_view;
};
private:
View &_view;
};