List of all members | Properties | Public Member Functions | Public Slots | Signals | Protected Attributes | Protected Member Functions | Protected Slots
XLineEdit Class Reference

#include <xlineedit.h>

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 isNull ()
 
Q_INVOKABLE bool isValid ()
 
virtual Q_INVOKABLE QString nullStr () const
 
virtual Q_INVOKABLE void setDouble (const double, const int=-1)
 
virtual Q_INVOKABLE void setNullStr (const QString &text)
 
virtual void setText (const QVariant &)
 
Q_INVOKABLE void setValidator (QValidator *v)
 
Q_INVOKABLE double toDouble (bool *=0)
 

Public Slots

virtual void setData ()
 
virtual void setData (const QString &text)
 
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

QAction_aliasAct
 
int _id
 
QAction_listAct
 
QString _nullStr
 
bool _parsed
 
QAction_searchAct
 
bool _valid
 

Protected Member Functions

virtual void focusInEvent (QFocusEvent *event)
 
virtual void focusOutEvent (QFocusEvent *event)
 
void keyPressEvent (QKeyEvent *)
 
void mouseDoubleClickEvent (QMouseEvent *)
 
void mousePressEvent (QMouseEvent *)
 

Protected Slots

virtual void sHandleNullStr ()
 

Constructor & Destructor Documentation

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

Member Function Documentation

void XLineEdit::clicked ( )
signal
virtual QString XLineEdit::defaultText ( ) const
inlinevirtual
void XLineEdit::doubleClicked ( )
signal
virtual QString XLineEdit::fieldName ( ) const
inlinevirtual

Reimplemented in XDateEdit.

void XLineEdit::focusInEvent ( QFocusEvent *  event)
protectedvirtual

Reimplemented in VirtualClusterLineEdit.

void XLineEdit::focusOutEvent ( QFocusEvent *  event)
protectedvirtual
int XLineEdit::id ( )
bool XLineEdit::isNull ( )
bool XLineEdit::isValid ( )
void XLineEdit::keyPressEvent ( QKeyEvent *  event)
protected
void XLineEdit::mouseDoubleClickEvent ( QMouseEvent *  event)
protected
void XLineEdit::mousePressEvent ( QMouseEvent *  event)
protected
virtual Q_INVOKABLE QString XLineEdit::nullStr ( ) const
inlinevirtual
void XLineEdit::requestAlias ( )
signal
void XLineEdit::requestInfo ( )
signal
void XLineEdit::requestList ( )
signal
void XLineEdit::requestSearch ( )
signal
void XLineEdit::setData ( )
virtualslot
void XLineEdit::setData ( const QString &  text)
virtualslot
void XLineEdit::setDataWidgetMap ( XDataWidgetMapper m)
virtualslot
virtual void XLineEdit::setDefaultText ( QString  p)
inlinevirtualslot
void XLineEdit::setDouble ( const double  pDouble,
const int  pPrec = -1 
)
virtual
virtual void XLineEdit::setFieldName ( QString  p)
inlinevirtualslot
void XLineEdit::setNullStr ( const QString &  text)
virtual
void XLineEdit::setText ( const QVariant &  pVariant)
virtual
Q_INVOKABLE void XLineEdit::setValidator ( QValidator *  v)
inline
void XLineEdit::sHandleNullStr ( )
protectedvirtualslot
void XLineEdit::sParse ( )
virtualslot
double XLineEdit::toDouble ( bool *  pIsValid = 0)

Member Data Documentation

QAction* XLineEdit::_aliasAct
protected
int XLineEdit::_id
protected
QAction* XLineEdit::_listAct
protected
QString XLineEdit::_nullStr
protected
bool XLineEdit::_parsed
protected
QAction* XLineEdit::_searchAct
protected
bool XLineEdit::_valid
protected

Property Documentation

QString XLineEdit::defaultText
readwrite
QString XLineEdit::fieldName
readwrite

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

Generated on Tue Oct 11 2016 14:00:00 xTuple ERP Programmer Reference, Version 4.3.0 doxygen 1.8.10