X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fview%2Fruler.h;h=1bda06427d253787389d1c87ca59dda26ad9fe71;hb=b3a7c0136e427d823eec18b14780182740e9de5d;hp=f855185b904a75209ce521ec12c4399913bd6d5e;hpb=cbd80f64b2637f13020da7ca003fadcb9be8d46f;p=pulseview.git diff --git a/pv/view/ruler.h b/pv/view/ruler.h index f855185..1bda064 100644 --- a/pv/view/ruler.h +++ b/pv/view/ruler.h @@ -39,12 +39,23 @@ private: static const QString SIPrefixes[9]; static const int FirstSIPrefixPower; + static const int HoverArrowSize; + public: Ruler(View &parent); private: void paintEvent(QPaintEvent *event); +private: + /** + * Draw a hover arrow under the cursor position. + */ + void draw_hover_mark(QPainter &p); + +private slots: + void hover_point_changed(); + private: View &_view; };