svgui  1.9
NotifyingCheckBox Class Reference

Very trivial enhancement to QCheckBox to make it emit signals when the mouse enters and leaves (for context help). More...

#include <NotifyingCheckBox.h>

List of all members.

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 *)

Detailed Description

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.


Constructor & Destructor Documentation

NotifyingCheckBox::NotifyingCheckBox ( QWidget *  parent = 0) [inline]

Definition at line 31 of file NotifyingCheckBox.h.

Definition at line 18 of file NotifyingCheckBox.cpp.


Member Function Documentation

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().


The documentation for this class was generated from the following files: