svgui  1.9
NotifyingComboBox Class Reference

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:
Collaboration diagram for NotifyingComboBox:

Signals

void mouseEntered ()
 
void mouseLeft ()
 

Public Member Functions

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

Protected Member Functions

virtual void enterEvent (QEvent *)
 
virtual void leaveEvent (QEvent *)
 

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

Definition at line 31 of file NotifyingComboBox.h.

◆ ~NotifyingComboBox()

NotifyingComboBox::~NotifyingComboBox ( )
virtual

Definition at line 18 of file NotifyingComboBox.cpp.

Member Function Documentation

◆ mouseEntered

void NotifyingComboBox::mouseEntered ( )
signal

Referenced by enterEvent().

◆ mouseLeft

void NotifyingComboBox::mouseLeft ( )
signal

Referenced by leaveEvent().

◆ enterEvent()

void NotifyingComboBox::enterEvent ( QEvent *  e)
protectedvirtual

Definition at line 23 of file NotifyingComboBox.cpp.

References mouseEntered().

◆ leaveEvent()

void NotifyingComboBox::leaveEvent ( QEvent *  e)
protectedvirtual

Definition at line 30 of file NotifyingComboBox.cpp.

References mouseLeft().


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