svgui
1.9
|
Very trivial enhancement to QPushButton to make it emit signals when the mouse enters and leaves (for context help). More...
#include <NotifyingPushButton.h>
Signals | |
void | mouseEntered () |
void | mouseLeft () |
Public Member Functions | |
NotifyingPushButton (QWidget *parent=0) | |
virtual | ~NotifyingPushButton () |
Protected Member Functions | |
void | enterEvent (QEvent *) override |
void | leaveEvent (QEvent *) override |
Detailed Description
Very trivial enhancement to QPushButton to make it emit signals when the mouse enters and leaves (for context help).
See also NotifyingToolButton
Definition at line 27 of file NotifyingPushButton.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 32 of file NotifyingPushButton.h.
References enterEvent(), leaveEvent(), mouseEntered(), mouseLeft(), and ~NotifyingPushButton().
|
virtual |
Definition at line 18 of file NotifyingPushButton.cpp.
Referenced by NotifyingPushButton().
Member Function Documentation
|
signal |
Referenced by enterEvent(), and NotifyingPushButton().
|
signal |
Referenced by leaveEvent(), and NotifyingPushButton().
|
overrideprotected |
Definition at line 23 of file NotifyingPushButton.cpp.
References mouseEntered().
Referenced by NotifyingPushButton().
|
overrideprotected |
Definition at line 30 of file NotifyingPushButton.cpp.
References mouseLeft().
Referenced by NotifyingPushButton().
The documentation for this class was generated from the following files:
Generated by 1.8.11