]> sigrok.org Git - pulseview.git/blobdiff - pv/view/timeitem.hpp
ViewItem: Moved in paint_label
[pulseview.git] / pv / view / timeitem.hpp
index 80fecb5dda316caa587f6616d6af814b5187d041..f988488409c18426aebab42b720dab2d54731987 100644 (file)
@@ -29,6 +29,7 @@ namespace view {
 class View;
 
 class TimeItem : public ViewItem
+
 {
        Q_OBJECT
 
@@ -47,13 +48,6 @@ public:
 
        virtual float get_x() const = 0;
 
-       /**
-        * Paints the marker's label to the ruler.
-        * @param p The painter to draw with.
-        * @param rect The rectangle of the ruler client area.
-        */
-       virtual void paint_label(QPainter &p, const QRect &rect) = 0;
-
 protected:
        View &view_;
 };