|
FactDev
0.1
|
The CheckSiretNumber class Line Edit with a check icon. More...
#include <checksiretnumber.h>
Public Member Functions | |
| CheckSiretNumber (QWidget *w=0, QPushButton *btn=0) | |
| CheckSiretNumber::CheckSiretNumber Construct a CheckSiretNumber. More... | |
| bool | check (QString text) |
| CheckSiretNumber::check Check if the field noSiret is valid. To be valid, a SIRET number should be composed of numbers. More... | |
Public Member Functions inherited from Gui::Widgets::CheckFields::CheckQLineEdit | |
| CheckQLineEdit (QWidget *parent=0, QPushButton *btn=0) | |
| CheckQLineEdit::CheckQLineEdit Construct a CheckQLineEdit. More... | |
| void | displayCheckValidFieldIcon () |
| CheckQLineEdit::displayCheckValidFieldIcon Display a valid icon into the field. | |
| void | displayCheckNoValidFieldIcon () |
| CheckQLineEdit::displayCheckNoValidFieldIcon Display a "no valid" icon into the field. | |
| QPushButton * | getBtnValid () const |
| CheckQLineEdit::getBtnValid. More... | |
| void | setBtnValid (QPushButton *getBtnValid) |
| CheckQLineEdit::setBtnValid. More... | |
| bool | isValid () |
| isValid Return true if the current field if valid More... | |
Additional Inherited Members | |
Public Slots inherited from Gui::Widgets::CheckFields::CheckQLineEdit | |
| void | fieldTextChanged (const QString &text) |
| CheckQLineEdit::fieldTextChanged For each new characater inputed or removed, displays an icon to show if the field is valid or not. | |
The CheckSiretNumber class Line Edit with a check icon.
| Gui::Widgets::CheckFields::CheckSiretNumber::CheckSiretNumber | ( | QWidget * | w = 0, |
| QPushButton * | btn = 0 |
||
| ) |
CheckSiretNumber::CheckSiretNumber Construct a CheckSiretNumber.
| w | QWidget linked to CheckSiretNumber |
|
virtual |
CheckSiretNumber::check Check if the field noSiret is valid. To be valid, a SIRET number should be composed of numbers.
| text | Text to check |
Implements Gui::Widgets::CheckFields::ICheckField.