FactDev
0.1
|
The CheckPostalCode class Line Edit of postal code with a check icon. More...
#include <checkpostalcode.h>
Public Member Functions | |
CheckPostalCode (QWidget *w=0, QPushButton *btn=0) | |
CheckPostalCode::CheckPostalCode Construct a CheckPostalCode. More... | |
bool | check (QString text) |
CheckPostalCode::check Check if the field is valid. To be valid, a name should be composed of a character. More... | |
QString | getCountry () const |
CheckPostalCode::getCountry Return the country linked to current field. More... | |
void | setCountry (const QString &country) |
CheckPostalCode::setCountry Modify the country linked to field. More... | |
Public Member Functions inherited from Gui::Widgets::CheckFields::CheckUntilField | |
CheckUntilField (QWidget *w=0, QPushButton *btn=0) | |
CheckUntilField::CheckUntilField Construct a CheckUntilField. More... | |
bool | check (QString text) |
CheckUntilField::check Check if the field is valid. To be valid, a name should be composed of a character. 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 CheckPostalCode class Line Edit of postal code with a check icon.
Gui::Widgets::CheckFields::CheckPostalCode::CheckPostalCode | ( | QWidget * | w = 0 , |
QPushButton * | btn = 0 |
||
) |
CheckPostalCode::CheckPostalCode Construct a CheckPostalCode.
w | QWidget linked to CheckPostalCode |
|
virtual |
CheckPostalCode::check Check if the field is valid. To be valid, a name should be composed of a character.
text | Text to check |
Implements Gui::Widgets::CheckFields::ICheckField.
QString Gui::Widgets::CheckFields::CheckPostalCode::getCountry | ( | ) | const |
CheckPostalCode::getCountry Return the country linked to current field.
void Gui::Widgets::CheckFields::CheckPostalCode::setCountry | ( | const QString & | country | ) |
CheckPostalCode::setCountry Modify the country linked to field.
country | New country |