XLineEdit Class Reference

#include <xlineedit.h>

List of all members.

Properties

QString defaultText
QString fieldName

Public Member Functions

 XLineEdit (QWidget *, const char *=0)
virtual QString defaultText () const
virtual QString fieldName () const
Q_INVOKABLE int id ()
Q_INVOKABLE bool isValid ()
virtual Q_INVOKABLE void setDouble (const double, const int=-1)
virtual void setText (const QVariant &)
Q_INVOKABLE void setValidator (QValidator *v)
Q_INVOKABLE double toDouble (bool *=0)

Public Slots

virtual void setData (const QString &text)
virtual void setData ()
virtual void setDataWidgetMap (XDataWidgetMapper *m)
virtual void setDefaultText (QString p)
virtual void setFieldName (QString p)
virtual void sParse ()

Signals

void clicked ()
void doubleClicked ()
void requestAlias ()
void requestInfo ()
void requestList ()
void requestSearch ()

Protected Attributes

int _id
bool _parsed
bool _valid

Protected Member Functions

void focusInEvent (QFocusEvent *)
void keyPressEvent (QKeyEvent *)
void mouseDoubleClickEvent (QMouseEvent *)
void mousePressEvent (QMouseEvent *)

Constructor & Destructor Documentation

XLineEdit::XLineEdit ( QWidget parent,
const char *  name = 0 
)

Member Function Documentation

void XLineEdit::clicked (  )  [signal]
virtual QString XLineEdit::defaultText (  )  const [inline, virtual]
void XLineEdit::doubleClicked (  )  [signal]
virtual QString XLineEdit::fieldName (  )  const [inline, virtual]

Reimplemented in XDateEdit.

void XLineEdit::focusInEvent ( QFocusEvent pEvent  )  [protected, virtual]

Reimplemented from QWidget.

int XLineEdit::id (  ) 

Reimplemented in UsernameLineEdit.

bool XLineEdit::isValid (  ) 

Reimplemented in XDateEdit.

void XLineEdit::keyPressEvent ( QKeyEvent event  )  [protected, virtual]

Reimplemented from QLineEdit.

Reimplemented in CLineEdit, and VirtualClusterLineEdit.

void XLineEdit::mouseDoubleClickEvent ( QMouseEvent event  )  [protected, virtual]

Reimplemented from QWidget.

void XLineEdit::mousePressEvent ( QMouseEvent event  )  [protected, virtual]

Reimplemented from QWidget.

Reimplemented in CLineEdit, ItemLineEdit, and VendorLineEdit.

void XLineEdit::requestAlias (  )  [signal]
void XLineEdit::requestInfo (  )  [signal]
void XLineEdit::requestList (  )  [signal]

Reimplemented in ShiptoEdit.

void XLineEdit::requestSearch (  )  [signal]
void XLineEdit::setData ( const QString text  )  [virtual, slot]
void XLineEdit::setData (  )  [virtual, slot]
void XLineEdit::setDataWidgetMap ( XDataWidgetMapper m  )  [virtual, slot]

Reimplemented in XDateEdit.

virtual void XLineEdit::setDefaultText ( QString  p  )  [inline, virtual, slot]
void XLineEdit::setDouble ( const double  pDouble,
const int  pPrec = -1 
) [virtual]
virtual void XLineEdit::setFieldName ( QString  p  )  [inline, virtual, slot]

Reimplemented in XDateEdit.

void XLineEdit::setText ( const QVariant pVariant  )  [virtual]
Q_INVOKABLE void XLineEdit::setValidator ( QValidator v  )  [inline]
void XLineEdit::sParse (  )  [virtual, slot]
double XLineEdit::toDouble ( bool *  pIsValid = 0  ) 

Member Data Documentation

int XLineEdit::_id [protected]
bool XLineEdit::_parsed [protected]
bool XLineEdit::_valid [protected]

Property Documentation

QString XLineEdit::defaultText [read, write]
QString XLineEdit::fieldName [read, write]

Reimplemented in XDateEdit.


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

Generated on Mon Nov 30 09:58:35 2009 xTuple ERP Programmer Reference, Version 3.4.0RC doxygen 1.6.1