# HG changeset patch # User Chris Cannam # Date 1222446871 0 # Node ID ea9e41027b93082f6c6381cf6b1444752c600daf # Parent 7466402a32c5d49a2b6c9cbd2a82e2708b0f5b81 ... diff -r 7466402a32c5 -r ea9e41027b93 widgets/TransformFinder.cpp --- a/widgets/TransformFinder.cpp Fri Sep 26 16:18:36 2008 +0000 +++ b/widgets/TransformFinder.cpp Fri Sep 26 16:34:31 2008 +0000 @@ -89,6 +89,12 @@ } void +SelectableLabel::mouseDoubleClickEvent(QMouseEvent *e) +{ + std::cerr << "mouseDoubleClickEvent" << std::endl; +} + +void SelectableLabel::enterEvent(QEvent *) { // std::cerr << "enterEvent" << std::endl; diff -r 7466402a32c5 -r ea9e41027b93 widgets/TransformFinder.h --- a/widgets/TransformFinder.h Fri Sep 26 16:18:36 2008 +0000 +++ b/widgets/TransformFinder.h Fri Sep 26 16:34:31 2008 +0000 @@ -52,6 +52,7 @@ protected: virtual void mousePressEvent(QMouseEvent *e); + virtual void mouseDoubleClickEvent(QMouseEvent *e); virtual void enterEvent(QEvent *); virtual void leaveEvent(QEvent *); QString m_selectedText;