public:
Ruler(View &parent);
+ static QString format_time(double t, unsigned int prefix,
+ unsigned precision = 0);
+
private:
void paintEvent(QPaintEvent *event);
void mouseReleaseEvent(QMouseEvent *);
private:
- void draw_cursors(QPainter &p);
+ void draw_cursors(QPainter &p, unsigned int prefix);
/**
* Draw a hover arrow under the cursor position.