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

#include <NotifyingComboBox.h>

Inheritance diagram for NotifyingComboBox:
Inheritance graph
Collaboration diagram for NotifyingComboBox:
Collaboration graph

Signals

void mouseEntered ()
 
void mouseLeft ()
 

Public Member Functions

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

Protected Member Functions

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

Detailed Description

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

Definition at line 26 of file NotifyingComboBox.h.

Constructor & Destructor Documentation

NotifyingComboBox::NotifyingComboBox ( QWidget *  parent = 0)
inline
NotifyingComboBox::~NotifyingComboBox ( )
virtual

Definition at line 18 of file NotifyingComboBox.cpp.

Referenced by NotifyingComboBox().

Member Function Documentation

void NotifyingComboBox::mouseEntered ( )
signal

Referenced by enterEvent(), and NotifyingComboBox().

void NotifyingComboBox::mouseLeft ( )
signal

Referenced by leaveEvent(), and NotifyingComboBox().

void NotifyingComboBox::enterEvent ( QEvent *  e)
overrideprotected

Definition at line 23 of file NotifyingComboBox.cpp.

References mouseEntered().

Referenced by NotifyingComboBox().

void NotifyingComboBox::leaveEvent ( QEvent *  e)
overrideprotected

Definition at line 30 of file NotifyingComboBox.cpp.

References mouseLeft().

Referenced by NotifyingComboBox().


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