X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Frowitem.cpp;h=eeb727ccc966cffa86eccbedcf00dc076ade7136;hb=be7170664b80552fdfb38da1c214c271cbf116aa;hp=185e03ab36d83d951a041b1698f814eb7094d6d3;hpb=5b5fa4da3b7112414b9f51e6626ae7f4bf606f02;p=pulseview.git diff --git a/pv/view/rowitem.cpp b/pv/view/rowitem.cpp index 185e03a..eeb727c 100644 --- a/pv/view/rowitem.cpp +++ b/pv/view/rowitem.cpp @@ -61,7 +61,7 @@ void RowItem::set_visual_v_offset(int v_offset) visual_v_offset_ = v_offset; if (owner_) - owner_->appearance_changed(true, true); + owner_->row_item_appearance_changed(true, true); } void RowItem::force_to_v_offset(int v_offset) @@ -115,27 +115,9 @@ int RowItem::get_visual_y() const return visual_v_offset_ + owner_->owner_visual_v_offset(); } -QPoint RowItem::point() const +QPoint RowItem::point(const QRect &rect) const { - return QPoint(0, visual_v_offset()); -} - -void RowItem::paint_back(QPainter &p, const ViewItemPaintParams &pp) -{ - (void)p; - (void)pp; -} - -void RowItem::paint_mid(QPainter &p, const ViewItemPaintParams &pp) -{ - (void)p; - (void)pp; -} - -void RowItem::paint_fore(QPainter &p, const ViewItemPaintParams &pp) -{ - (void)p; - (void)pp; + return QPoint(rect.right(), visual_v_offset()); } void RowItem::hover_point_changed()