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

#include <xlineedit.h>

Inheritance diagram for XLineEdit:
QLineEdit InvoiceLineEdit VirtualClusterLineEdit XDateEdit ApopenLineEdit AropenLineEdit CLineEdit CmheadClusterLineEdit CrmClusterLineEdit DeptClusterLineEdit DocClusterLineEdit EmpClusterLineEdit EmpGroupClusterLineEdit ExpenseLineEdit GLClusterLineEdit ImageClusterLineEdit InvoiceClusterLineEdit ItemGroupClusterLineEdit ItemLineEdit LotserialLineEdit LotserialseqClusterLineEdit OrderLineEdit PlanOrdLineEdit QuoteLineEdit RaLineEdit RevisionLineEdit ShiftClusterLineEdit ShipmentClusterLineEdit ShiptoEdit UsernameLineEdit VendorLineEdit VoucherClusterLineEdit WoLineEdit WorkCenterLineEdit

Properties

QString defaultText
 
QString fieldName
 

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 ()
 

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)
 

Protected Slots

virtual void sHandleNullStr ()
 

Protected Member Functions

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

Protected Attributes

QAction_aliasAct
 
int _id
 
QAction_listAct
 
QString _nullStr
 
bool _parsed
 
QAction_searchAct
 
bool _valid
 

Property Documentation

◆ defaultText

QString XLineEdit::defaultText
readwrite

◆ fieldName

QString XLineEdit::fieldName
readwrite

Constructor & Destructor Documentation

◆ XLineEdit()

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

Member Function Documentation

◆ clicked

void XLineEdit::clicked ( )
signal

◆ defaultText()

virtual QString XLineEdit::defaultText ( ) const
inlinevirtual

◆ doubleClicked

void XLineEdit::doubleClicked ( )
signal

◆ fieldName()

virtual QString XLineEdit::fieldName ( ) const
inlinevirtual

Reimplemented in XDateEdit.

◆ focusInEvent()

void XLineEdit::focusInEvent ( QFocusEvent *  event)
protectedvirtual

Reimplemented in VirtualClusterLineEdit.

◆ focusOutEvent()

void XLineEdit::focusOutEvent ( QFocusEvent *  event)
protectedvirtual

◆ id()

int XLineEdit::id ( )

◆ isNull()

bool XLineEdit::isNull ( )

◆ isValid()

bool XLineEdit::isValid ( )

◆ keyPressEvent()

void XLineEdit::keyPressEvent ( QKeyEvent *  event)
protected

◆ mouseDoubleClickEvent()

void XLineEdit::mouseDoubleClickEvent ( QMouseEvent *  event)
protected

◆ mousePressEvent()

void XLineEdit::mousePressEvent ( QMouseEvent *  event)
protected

◆ nullStr()

virtual Q_INVOKABLE QString XLineEdit::nullStr ( ) const
inlinevirtual

◆ requestAlias

void XLineEdit::requestAlias ( )
signal

◆ requestInfo

void XLineEdit::requestInfo ( )
signal

◆ requestList

void XLineEdit::requestList ( )
signal

◆ requestSearch

void XLineEdit::requestSearch ( )
signal

◆ setData [1/2]

void XLineEdit::setData ( )
virtualslot

◆ setData [2/2]

void XLineEdit::setData ( const QString &  text)
virtualslot

◆ setDataWidgetMap

void XLineEdit::setDataWidgetMap ( XDataWidgetMapper m)
virtualslot

◆ setDefaultText

virtual void XLineEdit::setDefaultText ( QString  p)
inlinevirtualslot

◆ setDouble()

void XLineEdit::setDouble ( const double  pDouble,
const int  pPrec = -1 
)
virtual

◆ setFieldName

virtual void XLineEdit::setFieldName ( QString  p)
inlinevirtualslot

◆ setNullStr()

void XLineEdit::setNullStr ( const QString &  text)
virtual

◆ setText()

void XLineEdit::setText ( const QVariant &  pVariant)
virtual

◆ setValidator()

Q_INVOKABLE void XLineEdit::setValidator ( QValidator *  v)
inline

◆ sHandleNullStr

void XLineEdit::sHandleNullStr ( )
protectedvirtualslot

◆ sParse

void XLineEdit::sParse ( )
virtualslot

◆ toDouble()

double XLineEdit::toDouble ( bool *  pIsValid = 0)

Member Data Documentation

◆ _aliasAct

QAction* XLineEdit::_aliasAct
protected

◆ _id

int XLineEdit::_id
protected

◆ _listAct

QAction* XLineEdit::_listAct
protected

◆ _nullStr

QString XLineEdit::_nullStr
protected

◆ _parsed

bool XLineEdit::_parsed
protected

◆ _searchAct

QAction* XLineEdit::_searchAct
protected

◆ _valid

bool XLineEdit::_valid
protected

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

Generated on Mon May 3 2021 xTuple ERP Programmer Reference, Version 4.12.0 doxygen 1.8.17