projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DecoderSelector: Make decoder tag names fully visible
[pulseview.git]
/
pv
/
views
/
trace
/
ruler.hpp
diff --git
a/pv/views/trace/ruler.hpp
b/pv/views/trace/ruler.hpp
index 40aa31bfefb4a9f42887b41d3035464a21994b33..5035bfc83bffc9962f8a7d06d782c1fae5dcd232 100644
(file)
--- a/
pv/views/trace/ruler.hpp
+++ b/
pv/views/trace/ruler.hpp
@@
-117,7
+117,8
@@
public:
unsigned precision = 0,
bool sign = true);
unsigned precision = 0,
bool sign = true);
- pv::util::Timestamp get_time_from_x_pos(uint32_t x) const;
+ pv::util::Timestamp get_absolute_time_from_x_pos(uint32_t x) const;
+ pv::util::Timestamp get_ruler_time_from_x_pos(uint32_t x) const;
protected:
virtual void contextMenuEvent(QContextMenuEvent *event) override;
protected:
virtual void contextMenuEvent(QContextMenuEvent *event) override;
@@
-171,11
+172,12
@@
private:
function<QString(const pv::util::Timestamp&)> format_function);
private Q_SLOTS:
function<QString(const pv::util::Timestamp&)> format_function);
private Q_SLOTS:
- void
hover_point_changed(
const QPoint &hp);
+ void
on_hover_point_changed(const QWidget* widget,
const QPoint &hp);
void invalidate_tick_position_cache();
void on_createMarker();
void invalidate_tick_position_cache();
void on_createMarker();
+ void on_setZeroPosition();
void on_toggleHoverMarker();
private:
void on_toggleHoverMarker();
private: