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 | |
virtual void | enterEvent (QEvent *) |
virtual void | leaveEvent (QEvent *) |
Very trivial enhancement to QPushButton to make it emit signals when the mouse enters and leaves (for context help).
Definition at line 26 of file NotifyingPushButton.h.
NotifyingPushButton::NotifyingPushButton | ( | QWidget * | parent = 0 | ) | [inline] |
Definition at line 31 of file NotifyingPushButton.h.
NotifyingPushButton::~NotifyingPushButton | ( | ) | [virtual] |
Definition at line 18 of file NotifyingPushButton.cpp.
void NotifyingPushButton::mouseEntered | ( | ) | [signal] |
Referenced by enterEvent().
void NotifyingPushButton::mouseLeft | ( | ) | [signal] |
Referenced by leaveEvent().
void NotifyingPushButton::enterEvent | ( | QEvent * | e | ) | [protected, virtual] |
Definition at line 23 of file NotifyingPushButton.cpp.
References mouseEntered().
Referenced by leaveEvent().
void NotifyingPushButton::leaveEvent | ( | QEvent * | e | ) | [protected, virtual] |
Definition at line 30 of file NotifyingPushButton.cpp.
References enterEvent(), and mouseLeft().