projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wrapped Cursors in a shared_ptr
[pulseview.git]
/
pv
/
view
/
view.h
diff --git
a/pv/view/view.h
b/pv/view/view.h
index 0f5e254da4f12681dfff1f10621c91c0af1b9422..155c875b777c8143bbd34fe8a88336388214a8ba 100644
(file)
--- a/
pv/view/view.h
+++ b/
pv/view/view.h
@@
-106,6
+106,11
@@
public:
*/
CursorPair& cursors();
*/
CursorPair& cursors();
+ /**
+ * Returns a reference to the pair of cursors.
+ */
+ const CursorPair& cursors() const;
+
const QPoint& hover_point() const;
void normalize_layout();
const QPoint& hover_point() const;
void normalize_layout();
@@
-115,6
+120,8
@@
signals:
void signals_moved();
void signals_moved();
+ void selection_changed();
+
private:
void get_scroll_layout(double &length, double &offset) const;
private:
void get_scroll_layout(double &length, double &offset) const;