]> sigrok.org Git - pulseview.git/blobdiff - pv/view/ruler.hpp
MarginWidget: Added item() method
[pulseview.git] / pv / view / ruler.hpp
index 68e7eb5884fcc751d0723ec13afbb80253937a43..e808b3097c665e4c33fbc14758d5ebf620438398 100644 (file)
@@ -62,6 +62,11 @@ public:
        QSize extended_size_hint() const;
 
 private:
        QSize extended_size_hint() const;
 
 private:
+       /**
+        * Gets the time items.
+        */
+       std::vector< std::shared_ptr<pv::view::ViewItem> > items();
+
        /**
         * Gets the first view item which has a label that contains @c pt .
         * @param pt the point to search with.
        /**
         * Gets the first view item which has a label that contains @c pt .
         * @param pt the point to search with.