projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
View: Fully integrate the "zero trigger time" setting
[pulseview.git]
/
pv
/
views
/
trace
/
view.hpp
diff --git
a/pv/views/trace/view.hpp
b/pv/views/trace/view.hpp
index fb097b01cfb604fb9893d4d50390ca7b64e5100f..9529e7a3fee25a3c057a76c5c1c76a5ebc0c4d08 100644
(file)
--- a/
pv/views/trace/view.hpp
+++ b/
pv/views/trace/view.hpp
@@
-162,6
+162,10
@@
public:
*/
const pv::util::Timestamp& ruler_offset() const;
*/
const pv::util::Timestamp& ruler_offset() const;
+ void set_zero_position(pv::util::Timestamp& position);
+
+ void reset_zero_position();
+
/**
* Returns the vertical scroll offset.
*/
/**
* Returns the vertical scroll offset.
*/
@@
-403,6
+407,8
@@
private Q_SLOTS:
void on_segment_completed(int new_segment_id);
void on_segment_changed(int segment);
void on_segment_completed(int new_segment_id);
void on_segment_changed(int segment);
+ void on_settingViewTriggerIsZeroTime_changed(const QVariant new_value);
+
virtual void perform_delayed_view_update();
void process_sticky_events();
virtual void perform_delayed_view_update();
void process_sticky_events();
@@
-411,7
+417,7
@@
private Q_SLOTS:
* Sets the 'offset_' and ruler_offset_ members and emits the 'offset_changed'
* signal if needed.
*/
* Sets the 'offset_' and ruler_offset_ members and emits the 'offset_changed'
* signal if needed.
*/
- void set_offset(const pv::util::Timestamp& offset);
+ void set_offset(const pv::util::Timestamp& offset
, bool force_update = false
);
/**
* Sets the 'scale_' member and emits the 'scale_changed'
/**
* Sets the 'scale_' member and emits the 'scale_changed'