X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Ftimeitem.hpp;h=f988488409c18426aebab42b720dab2d54731987;hb=e899d8bd280bbb88c81b4a41fd7d624194697ef6;hp=02d22d218c29b6e7dd953f764e3560afc623bdfc;hpb=2fae5107535c39adde322393d2f6d18098c0154e;p=pulseview.git diff --git a/pv/view/timeitem.hpp b/pv/view/timeitem.hpp index 02d22d21..f9884884 100644 --- a/pv/view/timeitem.hpp +++ b/pv/view/timeitem.hpp @@ -21,14 +21,15 @@ #ifndef PULSEVIEW_PV_VIEW_TIMEITEM_H #define PULSEVIEW_PV_VIEW_TIMEITEM_H -#include "selectableitem.hpp" +#include "viewitem.hpp" namespace pv { namespace view { class View; -class TimeItem : public SelectableItem +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_; };