]> sigrok.org Git - pulseview.git/blobdiff - pv/view/tracegroup.h
Header: Moved drag functionality into SelectableItem
[pulseview.git] / pv / view / tracegroup.h
index 297afa82eaec28c1002bc79cbbd33a4ee47466e4..21298dcb01e4d10f09423289a2a98f4ba0cb8ad7 100644 (file)
@@ -31,6 +31,10 @@ class TraceGroup : public RowItem, public RowItemOwner
 {
        Q_OBJECT
 
+private:
+       static const int Padding;
+       static const int Width;
+
 public:
        /**
         * Virtual destructor
@@ -77,7 +81,7 @@ public:
         *      area.
         * @return Returns the rectangle of the signal label.
         */
-       QRectF label_rect(int right);
+       QRectF label_rect(int right) const;
 
        /**
         * Determines if a point is in the header label rect.