X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Ftimeitem.hpp;h=06d850505ce8ebde350ecfbcbaeecbd5b3a79c3a;hb=2bdc5796c866b9494b2c40051e973e4385d9c46f;hp=e0114a5aca8e36a9434c1fe3b92aec8d2f487d37;hpb=e4e951b7fcfa4c6bf36547d0106bfa730fceb92c;p=pulseview.git diff --git a/pv/views/trace/timeitem.hpp b/pv/views/trace/timeitem.hpp index e0114a5a..06d85050 100644 --- a/pv/views/trace/timeitem.hpp +++ b/pv/views/trace/timeitem.hpp @@ -43,6 +43,8 @@ protected: */ TimeItem(View &view); + bool snapping_disabled_ = false; + public: /** * Sets the time of the marker. @@ -65,6 +67,8 @@ public: */ void drag_by(const QPoint &delta); + bool is_snapping_disabled() const; + protected: View &view_; };