FactDev
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
checkqlineedit.h
1
#ifndef CHECKQLINEEDIT_H
2
#define CHECKQLINEEDIT_H
3
4
#include <QLineEdit>
5
#include <QPushButton>
6
7
#include "icheckfield.h"
8
9
namespace
Gui {
10
namespace
Widgets {
11
namespace
CheckFields {
15
class
CheckQLineEdit
:
public
QLineEdit,
public
ICheckField
16
{
17
Q_OBJECT
18
public
:
23
explicit
CheckQLineEdit
(QWidget *parent = 0, QPushButton* btn=0);
24
29
void
displayCheckValidFieldIcon
();
30
35
void
displayCheckNoValidFieldIcon
();
36
41
QPushButton *
getBtnValid
()
const
;
46
void
setBtnValid
(QPushButton *getBtnValid);
47
52
bool
isValid
();
53
signals:
54
55
public
slots:
60
void
fieldTextChanged
(
const
QString &text);
61
62
private
:
63
QPushButton* _btnValid;
64
65
66
};
67
}
68
}
69
}
70
#endif // CHECKQLINEEDIT_H
Gui::Widgets::CheckFields::CheckQLineEdit::fieldTextChanged
void fieldTextChanged(const QString &text)
CheckQLineEdit::fieldTextChanged For each new characater inputed or removed, displays an icon to show...
Definition:
checkqlineedit.cpp:12
Gui::Widgets::CheckFields::CheckQLineEdit::CheckQLineEdit
CheckQLineEdit(QWidget *parent=0, QPushButton *btn=0)
CheckQLineEdit::CheckQLineEdit Construct a CheckQLineEdit.
Definition:
checkqlineedit.cpp:7
Gui::Widgets::CheckFields::CheckQLineEdit::getBtnValid
QPushButton * getBtnValid() const
CheckQLineEdit::getBtnValid.
Definition:
checkqlineedit.cpp:54
Gui::Widgets::CheckFields::ICheckField
The ICheckField class Interface to check fields validity.
Definition:
icheckfield.h:12
Gui::Widgets::CheckFields::CheckQLineEdit::isValid
bool isValid()
isValid Return true if the current field if valid
Definition:
checkqlineedit.cpp:64
Gui::Widgets::CheckFields::CheckQLineEdit::setBtnValid
void setBtnValid(QPushButton *getBtnValid)
CheckQLineEdit::setBtnValid.
Definition:
checkqlineedit.cpp:59
Gui::Widgets::CheckFields::CheckQLineEdit::displayCheckValidFieldIcon
void displayCheckValidFieldIcon()
CheckQLineEdit::displayCheckValidFieldIcon Display a valid icon into the field.
Definition:
checkqlineedit.cpp:27
Gui::Widgets::CheckFields::CheckQLineEdit
The CheckQLineEdit class LineEdit custom with a check of text inputed.
Definition:
checkqlineedit.h:15
Gui::Widgets::CheckFields::CheckQLineEdit::displayCheckNoValidFieldIcon
void displayCheckNoValidFieldIcon()
CheckQLineEdit::displayCheckNoValidFieldIcon Display a "no valid" icon into the field.
Definition:
checkqlineedit.cpp:40
travis
build
FACT-Team
FactDev
src
gui
widgets
checkfields
checkqlineedit.h
Generated on Sun Oct 11 2015 15:51:54 for FactDev by
1.8.6