X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fruler.hpp;h=418d398295806ca927670c429f5a8c09ed3162f1;hp=68e7eb5884fcc751d0723ec13afbb80253937a43;hb=2155b66bed9f0802caec0b1e86f7f03d317a3e83;hpb=6871ee9fc6c4a87cfa3796b893b91fc5b16c2673 diff --git a/pv/view/ruler.hpp b/pv/view/ruler.hpp index 68e7eb58..418d3982 100644 --- a/pv/view/ruler.hpp +++ b/pv/view/ruler.hpp @@ -62,6 +62,11 @@ public: QSize extended_size_hint() const; private: + /** + * Gets the time items. + */ + std::vector< std::shared_ptr > items(); + /** * Gets the first view item which has a label that contains @c pt . * @param pt the point to search with. @@ -80,8 +85,6 @@ private: void mouseDoubleClickEvent(QMouseEvent *e); - void contextMenuEvent(QContextMenuEvent *event); - void keyPressEvent(QKeyEvent *e); private: