X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Frowitem.hpp;h=cf521ff0be88d2f030cab0c4cd4616de9728594b;hb=d4e39570ee6021766c375654801dddba45b9198a;hp=91c84d352a1dd094a411dc6b44681d020d185e13;hpb=4a5c385ee6a9ce387e0fe908f4d9367aa96d8342;p=pulseview.git diff --git a/pv/view/rowitem.hpp b/pv/view/rowitem.hpp index 91c84d3..cf521ff 100644 --- a/pv/view/rowitem.hpp +++ b/pv/view/rowitem.hpp @@ -25,15 +25,14 @@ #include -#include "rowitempaintparams.hpp" -#include "selectableitem.hpp" +#include "viewitem.hpp" namespace pv { namespace view { class RowItemOwner; -class RowItem : public SelectableItem, +class RowItem : public ViewItem, public std::enable_shared_from_this { Q_OBJECT @@ -105,27 +104,6 @@ public: */ virtual std::pair 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 RowItemPaintParams &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 RowItemPaintParams &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 RowItemPaintParams &pp); - /** * Paints the signal label. * @param p the QPainter to paint into.