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

The CheckQLineEdit class LineEdit custom with a check of text inputed. More...

#include <checkqlineedit.h>

Inheritance diagram for Gui::Widgets::CheckFields::CheckQLineEdit:
Gui::Widgets::CheckFields::ICheckField Gui::Widgets::CheckFields::CheckEmail Gui::Widgets::CheckFields::CheckPortNumber Gui::Widgets::CheckFields::CheckSiretNumber Gui::Widgets::CheckFields::CheckUntilField Gui::Widgets::CheckFields::CheckValidField Gui::Widgets::CheckFields::CheckFieldsLetters Gui::Widgets::CheckFields::CheckFieldsNumbers Gui::Widgets::CheckFields::CheckIpAddress Gui::Widgets::CheckFields::CheckLogin Gui::Widgets::CheckFields::CheckPhone Gui::Widgets::CheckFields::CheckPostalCode Gui::Widgets::CheckFields::CheckWebsite Gui::Widgets::CheckFields::CheckCity Gui::Widgets::CheckFields::CheckCountry Gui::Widgets::CheckFields::CheckName

Public Slots

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.
 

Public Member Functions

 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...
 
- Public Member Functions inherited from Gui::Widgets::CheckFields::ICheckField
virtual bool check (QString text)=0
 ICheckField::check Check if the field (line edit) is valid Return TRUE if the field is valid, else FALSE. More...
 

Detailed Description

The CheckQLineEdit class LineEdit custom with a check of text inputed.

Constructor & Destructor Documentation

Gui::Widgets::CheckFields::CheckQLineEdit::CheckQLineEdit ( QWidget *  parent = 0,
QPushButton *  btn = 0 
)
explicit

CheckQLineEdit::CheckQLineEdit Construct a CheckQLineEdit.

Parameters
parent

Member Function Documentation

QPushButton * Gui::Widgets::CheckFields::CheckQLineEdit::getBtnValid ( ) const
bool Gui::Widgets::CheckFields::CheckQLineEdit::isValid ( )

isValid Return true if the current field if valid

Returns
boolean
void Gui::Widgets::CheckFields::CheckQLineEdit::setBtnValid ( QPushButton *  getBtnValid)

CheckQLineEdit::setBtnValid.

Parameters
getBtnValid

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