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>

Inheritance diagram for NotifyingCheckBox:
Collaboration diagram for NotifyingCheckBox:

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::NotifyingCheckBox ( QWidget *  parent = 0)
inline

Definition at line 31 of file NotifyingCheckBox.h.

◆ ~NotifyingCheckBox()

NotifyingCheckBox::~NotifyingCheckBox ( )
virtual

Definition at line 18 of file NotifyingCheckBox.cpp.

Member Function Documentation

◆ mouseEntered

void NotifyingCheckBox::mouseEntered ( )
signal

Referenced by enterEvent().

◆ mouseLeft

void NotifyingCheckBox::mouseLeft ( )
signal

Referenced by leaveEvent().

◆ enterEvent()

void NotifyingCheckBox::enterEvent ( QEvent *  e)
protectedvirtual

Definition at line 23 of file NotifyingCheckBox.cpp.

References mouseEntered().

◆ leaveEvent()

void NotifyingCheckBox::leaveEvent ( QEvent *  e)
protectedvirtual

Definition at line 30 of file NotifyingCheckBox.cpp.

References mouseLeft().


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