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