NotifyingPushButton Class Reference

#include <NotifyingPushButton.h>

List of all members.


Detailed Description

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.

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


Constructor & Destructor Documentation

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.


Member Function Documentation

void NotifyingPushButton::mouseEntered (  )  [signal]

Referenced by enterEvent().

void NotifyingPushButton::mouseLeft (  )  [signal]

Referenced by leaveEvent().

void NotifyingPushButton::enterEvent ( QEvent *   )  [protected, virtual]

Definition at line 23 of file NotifyingPushButton.cpp.

References mouseEntered().

void NotifyingPushButton::leaveEvent ( QEvent *   )  [protected, virtual]

Definition at line 30 of file NotifyingPushButton.cpp.

References mouseLeft().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 15:45:34 2008 for SonicVisualiser by  doxygen 1.5.1