Engauge Digitizer 2
|
Adds hover highlighting to QLineEdit. More...
#include <DlgEditPointGraphLineEdit.h>
Public Member Functions | |
DlgEditPointGraphLineEdit (QWidget *widget=0) | |
Single constructor. | |
~DlgEditPointGraphLineEdit () | |
virtual void | enterEvent (QEvent *) |
Hover entry triggers clearing of the background color so user does not think of widget as disabled and is encouraged to enter text. | |
virtual void | leaveEvent (QEvent *) |
Hover exit triggers restoration of the background color. | |
void | updateBackground () |
Update background given the current state. | |
Adds hover highlighting to QLineEdit.
Definition at line 15 of file DlgEditPointGraphLineEdit.h.
DlgEditPointGraphLineEdit::DlgEditPointGraphLineEdit | ( | QWidget * | widget = 0 | ) |
Single constructor.
Definition at line 11 of file DlgEditPointGraphLineEdit.cpp.
DlgEditPointGraphLineEdit::~DlgEditPointGraphLineEdit | ( | ) |
Definition at line 18 of file DlgEditPointGraphLineEdit.cpp.
Hover entry triggers clearing of the background color so user does not think of widget as disabled and is encouraged to enter text.
Definition at line 23 of file DlgEditPointGraphLineEdit.cpp.
Hover exit triggers restoration of the background color.
Definition at line 29 of file DlgEditPointGraphLineEdit.cpp.
void DlgEditPointGraphLineEdit::updateBackground | ( | ) |
Update background given the current state.
Definition at line 35 of file DlgEditPointGraphLineEdit.cpp.