projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TraceTreeItem: Update when selection state changes
[pulseview.git]
/
pv
/
view
/
tracetreeitem.hpp
diff --git
a/pv/view/tracetreeitem.hpp
b/pv/view/tracetreeitem.hpp
index 3b216988dd7d528cbaf73c9f49b88a512731e814..c41b67d75d1d2ab1a2dc503048d80d7c4241b63b 100644
(file)
--- a/
pv/view/tracetreeitem.hpp
+++ b/
pv/view/tracetreeitem.hpp
@@
-46,6
+46,16
@@
public:
*/
TraceTreeItem();
*/
TraceTreeItem();
+ /**
+ * Gets the owner this item in the view item hierachy.
+ */
+ TraceTreeItemOwner* owner() const;
+
+ /**
+ * Selects or deselects the signal.
+ */
+ void select(bool select = true);
+
/**
* Gets the vertical layout offset of this signal.
*/
/**
* Gets the vertical layout offset of this signal.
*/
@@
-77,11
+87,6
@@
public:
*/
void animate_to_layout_v_offset();
*/
void animate_to_layout_v_offset();
- /**
- * Gets the owner this trace in the view trace hierachy.
- */
- pv::view::TraceTreeItemOwner* owner() const;
-
/**
* Sets the owner this trace in the view trace hierachy.
* @param The new owner of the trace.
/**
* Sets the owner this trace in the view trace hierachy.
* @param The new owner of the trace.
@@
-111,11
+116,8
@@
public:
*/
virtual std::pair<int, int> v_extents() const = 0;
*/
virtual std::pair<int, int> v_extents() const = 0;
-public:
- virtual void hover_point_changed();
-
protected:
protected:
-
pv::view::
TraceTreeItemOwner *owner_;
+ TraceTreeItemOwner *owner_;
int layout_v_offset_;
int visual_v_offset_;
int layout_v_offset_;
int visual_v_offset_;