X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fview.hpp;h=ff7795c5a68dbd55b92204d7236817e2dce35182;hb=d40f4db76fc8120fcd54ace8c6fce63387e025ca;hp=b7d35e3c4102207998243147b0d2ab942c31d8c7;hpb=ef454ad5cf454ae2da91b45219e1be2e010d8312;p=pulseview.git diff --git a/pv/view/view.hpp b/pv/view/view.hpp index b7d35e3..ff7795c 100644 --- a/pv/view/view.hpp +++ b/pv/view/view.hpp @@ -125,6 +125,11 @@ public: */ unsigned int tick_prefix() const; + /** + * Returns the number of fractional digits shown for the time markings. + */ + unsigned int tick_precision() const; + /** * Returns period of the graticule time markings. */ @@ -286,6 +291,7 @@ private Q_SLOTS: void v_scroll_value_changed(); void signals_changed(); + void capture_state_updated(int state); void data_updated(); void perform_delayed_view_update(); @@ -314,6 +320,7 @@ private: double tick_period_; unsigned int tick_prefix_; + unsigned int tick_precision_; util::TimeUnit time_unit_; bool show_cursors_;