]> sigrok.org Git - pulseview.git/blobdiff - pv/view/tracegroup.h
TraceGroup: Added ungroup item
[pulseview.git] / pv / view / tracegroup.h
index 21298dcb01e4d10f09423289a2a98f4ba0cb8ad7..341a2a8835fac28ea57f7c04c47acd867c199e4c 100644 (file)
@@ -66,6 +66,12 @@ public:
         */
        virtual const pv::view::View* view() const;
 
+       /**
+        * Computes the vertical extents of the contents of this row item.
+        * @return A pair containing the minimum and maximum y-values.
+        */
+       std::pair<int, int> v_extents() const;
+
        /**
         * Paints the signal label.
         * @param p the QPainter to paint into.
@@ -103,6 +109,9 @@ public:
        int owner_v_offset() const;
 
        void update_viewport();
+
+private Q_SLOTS:
+       void on_ungroup();
 };
 
 } // view