]> sigrok.org Git - pulseview.git/blobdiff - pv/view/rowitem.h
SelectableItem: Fix documentation
[pulseview.git] / pv / view / rowitem.h
index fb09edaa3cc76b52e00f3bca94c613efc7de8fbe..161e828917aec9ea8acb98ad8550898fd252c7c8 100644 (file)
@@ -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;