svgui
1.9
|
Very trivial enhancement to QCheckBox to make it emit signals when the mouse enters and leaves (for context help). More...
#include <NotifyingCheckBox.h>
Signals | |
void | mouseEntered () |
void | mouseLeft () |
Public Member Functions | |
NotifyingCheckBox (QWidget *parent=0) | |
virtual | ~NotifyingCheckBox () |
Protected Member Functions | |
virtual void | enterEvent (QEvent *) |
virtual void | leaveEvent (QEvent *) |
Very trivial enhancement to QCheckBox to make it emit signals when the mouse enters and leaves (for context help).
Definition at line 26 of file NotifyingCheckBox.h.
NotifyingCheckBox::NotifyingCheckBox | ( | QWidget * | parent = 0 | ) | [inline] |
Definition at line 31 of file NotifyingCheckBox.h.
NotifyingCheckBox::~NotifyingCheckBox | ( | ) | [virtual] |
Definition at line 18 of file NotifyingCheckBox.cpp.
void NotifyingCheckBox::mouseEntered | ( | ) | [signal] |
Referenced by enterEvent().
void NotifyingCheckBox::mouseLeft | ( | ) | [signal] |
Referenced by leaveEvent().
void NotifyingCheckBox::enterEvent | ( | QEvent * | e | ) | [protected, virtual] |
Definition at line 23 of file NotifyingCheckBox.cpp.
References mouseEntered().
Referenced by leaveEvent().
void NotifyingCheckBox::leaveEvent | ( | QEvent * | e | ) | [protected, virtual] |
Definition at line 30 of file NotifyingCheckBox.cpp.
References enterEvent(), and mouseLeft().