]> sigrok.org Git - pulseview.git/blobdiff - pv/view/rowitem.hpp
ViewItem: Moved in paint_label
[pulseview.git] / pv / view / rowitem.hpp
index 6688bc5c90602a7dfd48d15a17acc873a233882e..d30227830e73782c4427dad7df1e19f76380297e 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <QPropertyAnimation>
 
-#include "viewitempaintparams.hpp"
 #include "viewitem.hpp"
 
 namespace pv {
@@ -105,35 +104,6 @@ public:
         */
        virtual std::pair<int, int> v_extents() const = 0;
 
-       /**
-        * Paints the background layer of the trace with a QPainter
-        * @param p the QPainter to paint into.
-        * @param pp the painting parameters object to paint with.
-        **/
-       virtual void paint_back(QPainter &p, const ViewItemPaintParams &pp);
-
-       /**
-        * Paints the mid-layer of the trace with a QPainter
-        * @param p the QPainter to paint into.
-        * @param pp the painting parameters object to paint with.
-        **/
-       virtual void paint_mid(QPainter &p, const ViewItemPaintParams &pp);
-
-       /**
-        * Paints the foreground layer of the trace with a QPainter
-        * @param p the QPainter to paint into.
-        * @param pp the painting parameters object to paint with.
-        **/
-       virtual void paint_fore(QPainter &p, const ViewItemPaintParams &pp);
-
-       /**
-        * Paints the signal label.
-        * @param p the QPainter to paint into.
-        * @param rect the rectangle of the header area.
-        * @param hover true if the label is being hovered over by the mouse.
-        */
-       virtual void paint_label(QPainter &p, const QRect &rect, bool hover) = 0;
-
 public:
        virtual void hover_point_changed();