X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Frowitem.h;h=161e828917aec9ea8acb98ad8550898fd252c7c8;hb=7ccd5a64548bccac7c172f9d5649f936044a5fa1;hp=fb09edaa3cc76b52e00f3bca94c613efc7de8fbe;hpb=bd9a1f175057487cff3cb3cc62bc9595e19945be;p=pulseview.git diff --git a/pv/view/rowitem.h b/pv/view/rowitem.h index fb09edaa..161e8289 100644 --- a/pv/view/rowitem.h +++ b/pv/view/rowitem.h @@ -30,6 +30,8 @@ class RowItemOwner; class RowItem : public SelectableItem { + Q_OBJECT + public: /** * Constructor. @@ -106,11 +108,14 @@ public: * area. * @return Returns the rectangle of the signal label. */ - virtual QRectF label_rect(int right) = 0; + virtual QRectF label_rect(int right) const = 0; public: virtual void hover_point_changed(); +Q_SIGNALS: + void appearance_changed(); + protected: pv::view::RowItemOwner *_owner;