dRonin
adbada4
dRonin GCS
|
#include <basevalidatinglineedit.h>
Signals | |
void | validChanged () |
void | validChanged (bool validState) |
void | validReturnPressed () |
Protected Slots | |
virtual void | slotReturnPressed () |
virtual void | slotChanged (const QString &t) |
Protected Member Functions | |
virtual bool | validate (const QString &value, QString *errorMessage) const =0 |
Base class for validating line edits that performs validation in a virtual validate() function to be implemented in derived classes. When invalid, the text color will turn red and a tooltip will contain the error message. This approach is less intrusive than a QValidator which will prevent the user from entering certain characters.
The widget has a concept of an "initialText" which can be something like "<Enter name here>". This results in state 'DisplayingInitialText', which is not valid, but is not marked red.
Definition at line 50 of file basevalidatinglineedit.h.
|
protectedvirtualslot |
Definition at line 121 of file basevalidatinglineedit.cpp.
|
protectedvirtualslot |
Definition at line 146 of file basevalidatinglineedit.cpp.
|
protectedpure virtual |
Implemented in Utils::PathValidatingLineEdit.
|
signal |
|
signal |
|
signal |