X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fcursorpair.hpp;fp=pv%2Fview%2Fcursorpair.hpp;h=aacc7d8c2b3272144be7fd6f9a7930a2d10ca129;hb=3204525355165f3d5994a5d17d044da19e29e1c5;hp=4361784a7a0a3d43e4e730add4217269bcb23b67;hpb=e113edc6663092c278f6b79dd62faedc71f53e5b;p=pulseview.git diff --git a/pv/view/cursorpair.hpp b/pv/view/cursorpair.hpp index 4361784..aacc7d8 100644 --- a/pv/view/cursorpair.hpp +++ b/pv/view/cursorpair.hpp @@ -90,7 +90,12 @@ public: **/ void paint_back(QPainter &p, const ViewItemPaintParams &pp); - void compute_text_size(QPainter &p, unsigned int prefix); + /** + * Constructs the string to display. + */ + QString format_string(); + + void compute_text_size(QPainter &p); std::pair get_cursor_offsets() const;