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:
Inheritance graph
Collaboration diagram for NotifyingCheckBox:
Collaboration graph

Signals

void mouseEntered ()
 
void mouseLeft ()
 

Public Member Functions

 NotifyingCheckBox (QWidget *parent=0)
 
virtual ~NotifyingCheckBox ()
 

Protected Member Functions

void enterEvent (QEvent *) override
 
void leaveEvent (QEvent *) override
 

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
NotifyingCheckBox::~NotifyingCheckBox ( )
virtual

Definition at line 18 of file NotifyingCheckBox.cpp.

Referenced by NotifyingCheckBox().

Member Function Documentation

void NotifyingCheckBox::mouseEntered ( )
signal

Referenced by enterEvent(), and NotifyingCheckBox().

void NotifyingCheckBox::mouseLeft ( )
signal

Referenced by leaveEvent(), and NotifyingCheckBox().

void NotifyingCheckBox::enterEvent ( QEvent *  e)
overrideprotected

Definition at line 23 of file NotifyingCheckBox.cpp.

References mouseEntered().

Referenced by NotifyingCheckBox().

void NotifyingCheckBox::leaveEvent ( QEvent *  e)
overrideprotected

Definition at line 30 of file NotifyingCheckBox.cpp.

References mouseLeft().

Referenced by NotifyingCheckBox().


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