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

The CheckValidField class Check field not required. More...

#include <checkvalidfield.h>

Inheritance diagram for Gui::Widgets::CheckFields::CheckValidField:
Gui::Widgets::CheckFields::CheckQLineEdit Gui::Widgets::CheckFields::ICheckField Gui::Widgets::CheckFields::CheckWebsite

Public Member Functions

 CheckValidField (QWidget *w=0, QPushButton *btn=0)
 CheckValidField::CheckValidField. More...
 
bool check (QString text)
 CheckValidField::check Return TRUE : the field is not required. 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 CheckValidField class Check field not required.

Constructor & Destructor Documentation

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

CheckValidField::CheckValidField.

Parameters
wQWidget linked to CheckValidField

Member Function Documentation

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

CheckValidField::check Return TRUE : the field is not required.

Parameters
textText to check
Returns
boolean Validity of the text

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

Reimplemented in Gui::Widgets::CheckFields::CheckWebsite.


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