projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TimeMarker: Added get_text
[pulseview.git]
/
pv
/
view
/
cursor.hpp
diff --git
a/pv/view/cursor.hpp
b/pv/view/cursor.hpp
index 9f0adeddbd8eb0bdd20e16ded2fd16d6036533cc..fab7497e18830c53128277be14a801742105afb4 100644
(file)
--- a/
pv/view/cursor.hpp
+++ b/
pv/view/cursor.hpp
@@
-48,6
+48,11
@@
public:
Cursor(View &view, double time);
public:
+ /**
+ * Gets the text to show in the marker.
+ */
+ QString get_text() const;
+
/**
* Gets the marker label rectangle.
* @param rect The rectangle of the ruler client area.