Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Slots | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
QValidatedLineEdit Class Reference

Line edit that can be marked as "invalid" to show input validation feedback. More...

#include <qvalidatedlineedit.h>

Inheritance diagram for QValidatedLineEdit:
Inheritance graph
[legend]
Collaboration diagram for QValidatedLineEdit:
Collaboration graph
[legend]

Public Slots

void setValid (bool valid)
 

Public Member Functions

 QValidatedLineEdit (QWidget *parent=0)
 
void clear ()
 

Protected Member Functions

void focusInEvent (QFocusEvent *evt)
 

Private Slots

void markValid ()
 

Private Attributes

bool valid
 

Detailed Description

Line edit that can be marked as "invalid" to show input validation feedback.

When marked as invalid, it will get a red background until it is focused.

Definition at line 9 of file qvalidatedlineedit.h.

Constructor & Destructor Documentation

QValidatedLineEdit::QValidatedLineEdit ( QWidget *  parent = 0)
explicit

Definition at line 5 of file qvalidatedlineedit.cpp.

Member Function Documentation

void QValidatedLineEdit::clear ( )

Definition at line 41 of file qvalidatedlineedit.cpp.

void QValidatedLineEdit::focusInEvent ( QFocusEvent *  evt)
protected

Definition at line 29 of file qvalidatedlineedit.cpp.

void QValidatedLineEdit::markValid ( )
privateslot

Definition at line 36 of file qvalidatedlineedit.cpp.

void QValidatedLineEdit::setValid ( bool  valid)
slot

Definition at line 11 of file qvalidatedlineedit.cpp.

Member Data Documentation

bool QValidatedLineEdit::valid
private

Definition at line 21 of file qvalidatedlineedit.h.


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