X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fruler.hpp;h=f29075c7868bc052b270135c31667f7b0aa72418;hb=e47b69882ca7299041123c664dbcc8b552c5db99;hp=68e7eb5884fcc751d0723ec13afbb80253937a43;hpb=6871ee9fc6c4a87cfa3796b893b91fc5b16c2673;p=pulseview.git diff --git a/pv/view/ruler.hpp b/pv/view/ruler.hpp index 68e7eb5..f29075c 100644 --- a/pv/view/ruler.hpp +++ b/pv/view/ruler.hpp @@ -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 > items(); + /** * Gets the first view item which has a label that contains @c pt . * @param pt the point to search with. @@ -75,15 +77,9 @@ private: void paintEvent(QPaintEvent *event); void mouseMoveEvent(QMouseEvent *e); - void mousePressEvent(QMouseEvent *e); - void mouseReleaseEvent(QMouseEvent *); void mouseDoubleClickEvent(QMouseEvent *e); - void contextMenuEvent(QContextMenuEvent *event); - - void keyPressEvent(QKeyEvent *e); - private: /** * Draw a hover arrow under the cursor position.