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

The CheckIpAddress class Line Edit of IP address with a check icon. More...

#include <checkipaddress.h>

Inheritance diagram for Gui::Widgets::CheckFields::CheckIpAddress:
Gui::Widgets::CheckFields::CheckUntilField Gui::Widgets::CheckFields::CheckQLineEdit Gui::Widgets::CheckFields::ICheckField

Public Member Functions

 CheckIpAddress (QWidget *w=0, QPushButton *btn=0)
 CheckIpAddress::CheckIpAddress Construct a CheckIpAddress. More...
 
bool check (QString text)
 CheckIpAddress::check Check if the field contains an IP address or domain name valid. 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 CheckIpAddress class Line Edit of IP address with a check icon.

Author
Florent BERBIE
See Also
CheckQLineEdit
CheckUntilField

Constructor & Destructor Documentation

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

CheckIpAddress::CheckIpAddress Construct a CheckIpAddress.

Parameters
wQWidget linked to CheckIpAddress

Member Function Documentation

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

CheckIpAddress::check Check if the field contains an IP address or domain name valid.

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: