]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/decodetrace.hpp
Fix #1525 by increasing the allowed unit/div range
[pulseview.git] / pv / views / trace / decodetrace.hpp
index b6791c4381af50a5c81396bc7ecf217e0506738d..258509e66ea4ec4869bda2a185e95454f73130d7 100644 (file)
@@ -29,6 +29,7 @@
 #include <vector>
 
 #include <QColor>
+#include <QComboBox>
 #include <QCheckBox>
 #include <QElapsedTimer>
 #include <QPolygon>
@@ -97,6 +98,7 @@ struct DecodeTraceRow {
        ContainerWidget* container;
        QWidget* header_container;
        QWidget* selector_container;
+       QCheckBox* row_visibility_checkbox;
        vector<QCheckBox*> selectors;
 
        QColor row_color;
@@ -148,6 +150,12 @@ public:
 
        shared_ptr<SignalBase> base() const;
 
+       /**
+        * Sets the owner this trace in the view trace hierachy.
+        * @param The new owner of the trace.
+        */
+       virtual void set_owner(TraceTreeItemOwner *owner);
+
        /**
         * Computes the vertical extents of the contents of this row item.
         * @return A pair containing the minimum and maximum y-values.
@@ -311,7 +319,7 @@ private:
        QPushButton* stack_button_;
 
        unsigned int default_row_height_, annotation_height_;
-       unsigned int visible_rows_, max_visible_rows_;
+       unsigned int visible_rows_;
 
        int min_useful_label_width_;
        bool always_show_all_rows_, show_hidden_rows_;