]> sigrok.org Git - pulseview.git/blobdiff - pv/view/viewitem.hpp
ViewItem: Added rect parameter to point()
[pulseview.git] / pv / view / viewitem.hpp
index 1e02ffde289514bac8bf816aef3532ea46630e5f..11efbc0cdd1f7bd79855b7fe4c77cc67583f8922 100644 (file)
@@ -88,8 +88,9 @@ public:
 
        /**
         * Get the drag point.
+        * @param rect the rectangle of the widget area.
         */
-       virtual QPoint point() const = 0;
+       virtual QPoint point(const QRect &rect) const = 0;
 
        /**
         * Computes the outline rectangle of a label.