FactDev  0.1
Gui::Widgets::CheckFields::CheckFieldsLetters Class Reference

The CheckFieldsLetters class Field with only letters (no numbers) More...

#include <checkfieldsletters.h>

Inheritance diagram for Gui::Widgets::CheckFields::CheckFieldsLetters:
Gui::Widgets::CheckFields::CheckUntilField Gui::Widgets::CheckFields::CheckQLineEdit Gui::Widgets::CheckFields::ICheckField Gui::Widgets::CheckFields::CheckCity Gui::Widgets::CheckFields::CheckCountry Gui::Widgets::CheckFields::CheckName

Public Member Functions

 CheckFieldsLetters (QWidget *w=0, QPushButton *btn=0)
 CheckFieldsLetters::CheckFieldsLetters Construct a CheckFieldsLetters. More...
 
bool check (QString text)
 CheckFieldsLetters::check Check if the field contains only letters. 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.
 

Detailed Description

The CheckFieldsLetters class Field with only letters (no numbers)

Constructor & Destructor Documentation

Gui::Widgets::CheckFields::CheckFieldsLetters::CheckFieldsLetters ( QWidget *  w = 0,
QPushButton *  btn = 0 
)

Member Function Documentation

bool Gui::Widgets::CheckFields::CheckFieldsLetters::check ( QString  text)
virtual

CheckFieldsLetters::check Check if the field contains only letters.

Parameters
textText to check
Returns
boolean Validity of the text

Implements Gui::Widgets::CheckFields::ICheckField.


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