]> sigrok.org Git - pulseview.git/blobdiff - pv/view/ruler.hpp
MarginWidget: Moved in clear_selection
[pulseview.git] / pv / view / ruler.hpp
index 68e7eb5884fcc751d0723ec13afbb80253937a43..ce9cae30134c0af64fb14ed97ff6ae48c208eb0d 100644 (file)
@@ -48,9 +48,6 @@ private:
 public:
        Ruler(View &parent);
 
-public:
-       void clear_selection();
-
 public:
        QSize sizeHint() const;
 
@@ -62,6 +59,11 @@ public:
        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.
@@ -80,8 +82,6 @@ private:
 
        void mouseDoubleClickEvent(QMouseEvent *e);
 
-       void contextMenuEvent(QContextMenuEvent *event);
-
        void keyPressEvent(QKeyEvent *e);
 
 private: