X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fheader.hpp;h=704c33451686330012c6a929588872d885210852;hp=e249264330a074c65cbe51559d9fbde54844c412;hb=6a2cc8dd37f6d128ad7e16b9a7a78bb44d5a5aa5;hpb=bc01bb31fb03f69c8ceef57676b3399d7a08dcd9 diff --git a/pv/view/header.hpp b/pv/view/header.hpp index e2492643..704c3345 100644 --- a/pv/view/header.hpp +++ b/pv/view/header.hpp @@ -60,6 +60,11 @@ public: static const int BaselineOffset; private: + /** + * Gets the row 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. @@ -69,15 +74,10 @@ private: std::shared_ptr get_mouse_over_item( const QPoint &pt); - void clear_selection(); - private: void paintEvent(QPaintEvent *event); private: - void mouseLeftPressEvent(QMouseEvent *event); - void mousePressEvent(QMouseEvent * event); - void mouseLeftReleaseEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event);