]> sigrok.org Git - pulseview.git/blobdiff - pv/view/tracegroup.h
RowItemOwner: Added depth() method
[pulseview.git] / pv / view / tracegroup.h
index 341a2a8835fac28ea57f7c04c47acd867c199e4c..a950eac91451ba188ab0bd898430b4d83ebdef2e 100644 (file)
@@ -34,6 +34,8 @@ class TraceGroup : public RowItem, public RowItemOwner
 private:
        static const int Padding;
        static const int Width;
+       static const int LineThickness;
+       static const QColor LineColour;
 
 public:
        /**
@@ -108,7 +110,15 @@ public:
         */
        int owner_v_offset() const;
 
-       void update_viewport();
+       /**
+        * Returns the number of nested parents that this row item owner has.
+        */
+       unsigned int depth() const;
+
+public:
+       void appearance_changed(bool label, bool content);
+
+       void extents_changed(bool horz, bool vert);
 
 private Q_SLOTS:
        void on_ungroup();