X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fviewwidget.hpp;h=003c0eeda09b57f31d9f26e31b54244045876ac6;hb=e8b969a9ae4e0a683eabddc8ded7babaf03844fd;hp=6fd1ecefd1f853a2403fc880cacb36c1c699a108;hpb=539deb1065f2c863ccc824b692282533eedab77e;p=pulseview.git diff --git a/pv/view/viewwidget.hpp b/pv/view/viewwidget.hpp index 6fd1ece..003c0ee 100644 --- a/pv/view/viewwidget.hpp +++ b/pv/view/viewwidget.hpp @@ -40,6 +40,15 @@ class ViewWidget : public QWidget protected: ViewWidget(View &parent); + /** + * Indicates when a view item is being hovered over. + * @param item The item that is being hovered over, or @c nullptr + * if no view item is being hovered over. + * @remarks the default implementation does nothing. + */ + virtual void item_hover( + const std::shared_ptr &item); + /** * Indicates the event an a view item has been clicked. * @param item the view item that has been clicked.