diff options
author | Ken Moore <ken@ixsystems.com> | 2017-09-26 23:50:24 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-09-26 23:50:24 -0400 |
commit | 823e3aa950cf52eb4902a70e606f073af3c92795 (patch) | |
tree | 3e98794fde3856db638134635fc85ecc8e81305b /src-qt5/src-glwidgets/glw-widget.h | |
parent | Update some more of the GL widget set and the test (diff) | |
download | lumina-823e3aa950cf52eb4902a70e606f073af3c92795.tar.gz lumina-823e3aa950cf52eb4902a70e606f073af3c92795.tar.bz2 lumina-823e3aa950cf52eb4902a70e606f073af3c92795.zip |
More updates for the GL widget set.
Now all the mouse tracking/hovering is working - with one exception:
All the mouse hover detection is based around mouse **movement** - so programmatic changes to a window will not detect the change in what is directly under the mouse without manual intervention in the code.
Diffstat (limited to 'src-qt5/src-glwidgets/glw-widget.h')
-rw-r--r-- | src-qt5/src-glwidgets/glw-widget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/src-glwidgets/glw-widget.h b/src-qt5/src-glwidgets/glw-widget.h index 91a1ae69..e4d7aa37 100644 --- a/src-qt5/src-glwidgets/glw-widget.h +++ b/src-qt5/src-glwidgets/glw-widget.h @@ -44,8 +44,8 @@ public slots: protected: - virtual void enterEvent(QEvent*){ this->update(); } - virtual void leaveEvent(QEvent*){ this->update(); } + virtual void enterEvent(QEvent*); + virtual void leaveEvent(QEvent*); virtual void mousePressEvent(QMouseEvent *ev); virtual void mouseReleaseEvent(QMouseEvent *ev); |