List of all members | Properties | Public Slots | Signals | Public Member Functions | Static Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes | Friends
VirtualClusterLineEdit Class Reference

#include <virtualCluster.h>

Inheritance diagram for VirtualClusterLineEdit:
XLineEdit QLineEdit 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 clear ()
 
virtual QString extraClause () const
 
virtual void sCopy ()
 
virtual void sEllipses ()
 
virtual void setData ()
 
virtual void setData (const QString &text)
 
virtual void setDataWidgetMap (XDataWidgetMapper *m)
 
virtual void setDefaultText (QString p)
 
virtual void setEditPriv (const QString &priv)
 
virtual void setFieldName (QString p)
 
virtual void setId (const int)
 
virtual void setId (const int, const QString &)
 
virtual void setNewPriv (const QString &priv)
 
virtual void setNumber (const QString &)
 
virtual void setShowInactive (const bool)
 
virtual void setUiName (const QString &name)
 
virtual void setViewPriv (const QString &priv)
 
virtual void sInfo ()
 
virtual void sList ()
 
virtual void sNew ()
 
virtual void sOpen ()
 
virtual void sSearch ()
 

Signals

void clicked ()
 
void doubleClicked ()
 
void newId (int)
 
void parsed ()
 
void requestAlias ()
 
void requestInfo ()
 
void requestList ()
 
void requestSearch ()
 
void valid (bool)
 

Public Member Functions

 VirtualClusterLineEdit (QWidget *parent, const char *pTabName, const char *pIdColumn, const char *pNumberColumn, const char *pNameColumn, const char *pDescripColumn, const char *pExtra, const char *pName=0, const char *pActiveColumn=0)
 
virtual Q_INVOKABLE bool canOpen ()
 
virtual QString defaultText () const
 
virtual Q_INVOKABLE QString description () const
 
virtual Q_INVOKABLE QString editPriv () const
 
virtual QString fieldName () const
 
Q_INVOKABLE int id ()
 
Q_INVOKABLE bool isNull ()
 
Q_INVOKABLE bool isValid ()
 
QMenu * menu () const
 
virtual Q_INVOKABLE QSqlQueryModel * model () const
 
virtual Q_INVOKABLE QString name () const
 
virtual Q_INVOKABLE QString nullStr () const
 
virtual Q_INVOKABLE void setDouble (const double, const int=-1)
 
void setMenu (QMenu *menu)
 
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)
 
virtual Q_INVOKABLE QString uiName () const
 
virtual Q_INVOKABLE QString viewPriv () const
 

Static Public Attributes

static GuiClientInterface_guiClientInterface
 

Protected Slots

virtual void clearExtraClause ()
 
virtual void completerActivated (const QModelIndex &)
 
virtual void completerHighlighted (const QModelIndex &)
 
virtual VirtualInfoinfoFactory ()
 
bool isStrict () const
 
virtual VirtualListlistFactory ()
 
virtual VirtualSearchsearchFactory ()
 
virtual void setExtraClause (const QString &pExt)
 
void setStrict (bool)
 
virtual void setStrikeOut (bool enable=false)
 
virtual void setTableAndColumnNames (const char *pTabName, const char *pIdColumn, const char *pNumberColumn, const char *pNameColumn, const char *pDescripColumn, const char *pActiveColumn, const char *=0, const char *=0)
 
virtual void setTitles (const QString &, const QString &=0)
 
virtual void sHandleCompleter ()
 
virtual void sHandleNullStr ()
 
virtual QWidgetsOpenWindow (const QString &uiName, ParameterList &params)
 
virtual void sParse ()
 
virtual void sUpdateMenu ()
 

Protected Member Functions

virtual bool eventFilter (QObject *obj, QEvent *event)
 
virtual void focusInEvent (QFocusEvent *event)
 
virtual void focusOutEvent (QFocusEvent *event)
 
void keyPressEvent (QKeyEvent *)
 
void mouseDoubleClickEvent (QMouseEvent *)
 
void mousePressEvent (QMouseEvent *)
 
virtual void resizeEvent (QResizeEvent *e)
 
virtual void silentSetId (const int)
 

Protected Attributes

QString _activeClause
 
QString _activeColName
 
QAction_aliasAct
 
QCompleter * _completer
 
int _completerId
 
QAction_copyAct
 
QString _descripColName
 
QString _description
 
QString _editPriv
 
QString _extraClause
 
bool _hasActive
 
bool _hasDescription
 
bool _hasName
 
int _id
 
QString _idClause
 
QString _idColName
 
QAction_infoAct
 
QAction_listAct
 
QMenu * _menu
 
QLabel_menuLabel
 
QSqlQueryModel * _model
 
QString _name
 
QString _nameColName
 
QAction_newAct
 
QString _newPriv
 
QString _nullStr
 
QString _numClause
 
QString _numColName
 
QAction_openAct
 
bool _parsed
 
QString _query
 
QAction_searchAct
 
bool _showInactive
 
bool _strict
 
QString _titlePlural
 
QString _titleSingular
 
QString _uiName
 
bool _valid
 
QString _viewPriv
 

Friends

class VirtualCluster
 
class VirtualInfo
 
class VirtualList
 
class VirtualSearch
 

Property Documentation

◆ defaultText

QString XLineEdit::defaultText
readwriteinherited

◆ fieldName

QString XLineEdit::fieldName
readwriteinherited

Constructor & Destructor Documentation

◆ VirtualClusterLineEdit()

VirtualClusterLineEdit::VirtualClusterLineEdit ( QWidget parent,
const char *  pTabName,
const char *  pIdColumn,
const char *  pNumberColumn,
const char *  pNameColumn,
const char *  pDescripColumn,
const char *  pExtra,
const char *  pName = 0,
const char *  pActiveColumn = 0 
)

Member Function Documentation

◆ canOpen()

bool VirtualClusterLineEdit::canOpen ( )
virtual

Reimplemented in CLineEdit, and VendorLineEdit.

◆ clear

void VirtualClusterLineEdit::clear ( )
virtualslot

Reimplemented in OrderLineEdit.

◆ clearExtraClause

virtual void VirtualClusterLineEdit::clearExtraClause ( )
inlineprotectedvirtualslot

◆ clicked

void XLineEdit::clicked ( )
signalinherited

◆ completerActivated

void VirtualClusterLineEdit::completerActivated ( const QModelIndex &  pIndex)
protectedvirtualslot

◆ completerHighlighted

void VirtualClusterLineEdit::completerHighlighted ( const QModelIndex &  pIndex)
protectedvirtualslot

◆ defaultText()

virtual QString XLineEdit::defaultText ( ) const
inlinevirtualinherited

◆ description()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::description ( ) const
inlinevirtual

◆ doubleClicked

void XLineEdit::doubleClicked ( )
signalinherited

◆ editPriv()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::editPriv ( ) const
inlinevirtual

◆ eventFilter()

bool VirtualClusterLineEdit::eventFilter ( QObject obj,
QEvent *  event 
)
protectedvirtual

◆ extraClause

virtual QString VirtualClusterLineEdit::extraClause ( ) const
inlinevirtualslot

◆ fieldName()

virtual QString XLineEdit::fieldName ( ) const
inlinevirtualinherited

Reimplemented in XDateEdit.

◆ focusInEvent()

void VirtualClusterLineEdit::focusInEvent ( QFocusEvent *  event)
protectedvirtual

Reimplemented from XLineEdit.

◆ focusOutEvent()

void XLineEdit::focusOutEvent ( QFocusEvent *  event)
protectedvirtualinherited

◆ id()

int XLineEdit::id ( )
inherited

◆ infoFactory

VirtualInfo * VirtualClusterLineEdit::infoFactory ( )
protectedvirtualslot

◆ isNull()

bool XLineEdit::isNull ( )
inherited

◆ isStrict

bool VirtualClusterLineEdit::isStrict ( ) const
inlineprotectedslot

◆ isValid()

bool XLineEdit::isValid ( )
inherited

◆ keyPressEvent()

void XLineEdit::keyPressEvent ( QKeyEvent *  event)
protectedinherited

◆ listFactory

VirtualList * VirtualClusterLineEdit::listFactory ( )
protectedvirtualslot

◆ menu()

QMenu* VirtualClusterLineEdit::menu ( ) const
inline

◆ model()

virtual Q_INVOKABLE QSqlQueryModel* VirtualClusterLineEdit::model ( ) const
inlinevirtual

◆ mouseDoubleClickEvent()

void XLineEdit::mouseDoubleClickEvent ( QMouseEvent *  event)
protectedinherited

◆ mousePressEvent()

void XLineEdit::mousePressEvent ( QMouseEvent *  event)
protectedinherited

◆ name()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::name ( ) const
inlinevirtual

◆ newId

void VirtualClusterLineEdit::newId ( int  )
signal

◆ nullStr()

virtual Q_INVOKABLE QString XLineEdit::nullStr ( ) const
inlinevirtualinherited

◆ parsed

void VirtualClusterLineEdit::parsed ( )
signal

◆ requestAlias

void XLineEdit::requestAlias ( )
signalinherited

◆ requestInfo

void XLineEdit::requestInfo ( )
signalinherited

◆ requestList

void XLineEdit::requestList ( )
signalinherited

◆ requestSearch

void XLineEdit::requestSearch ( )
signalinherited

◆ resizeEvent()

void VirtualClusterLineEdit::resizeEvent ( QResizeEvent *  e)
protectedvirtual

◆ sCopy

void VirtualClusterLineEdit::sCopy ( )
virtualslot

◆ searchFactory

VirtualSearch * VirtualClusterLineEdit::searchFactory ( )
protectedvirtualslot

◆ sEllipses

void VirtualClusterLineEdit::sEllipses ( )
virtualslot

◆ setData [1/2]

void XLineEdit::setData ( )
virtualslotinherited

◆ setData [2/2]

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

◆ setDataWidgetMap

void XLineEdit::setDataWidgetMap ( XDataWidgetMapper m)
virtualslotinherited

◆ setDefaultText

virtual void XLineEdit::setDefaultText ( QString  p)
inlinevirtualslotinherited

◆ setDouble()

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

◆ setEditPriv

void VirtualClusterLineEdit::setEditPriv ( const QString &  priv)
virtualslot

◆ setExtraClause

virtual void VirtualClusterLineEdit::setExtraClause ( const QString &  pExt)
inlineprotectedvirtualslot

Reimplemented in OrderLineEdit, ApopenLineEdit, and AropenLineEdit.

◆ setFieldName

virtual void XLineEdit::setFieldName ( QString  p)
inlinevirtualslotinherited

◆ setId [1/2]

void VirtualClusterLineEdit::setId ( const int  pId)
virtualslot

◆ setId [2/2]

void VirtualClusterLineEdit::setId ( const int  pId,
const QString &   
)
virtualslot

◆ setMenu()

void VirtualClusterLineEdit::setMenu ( QMenu *  menu)

◆ setNewPriv

void VirtualClusterLineEdit::setNewPriv ( const QString &  priv)
virtualslot

◆ setNullStr()

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

◆ setNumber

void VirtualClusterLineEdit::setNumber ( const QString &  pNumber)
virtualslot

◆ setShowInactive

void VirtualClusterLineEdit::setShowInactive ( const bool  p)
virtualslot

◆ setStrict

void VirtualClusterLineEdit::setStrict ( bool  b)
protectedslot

◆ setStrikeOut

void VirtualClusterLineEdit::setStrikeOut ( bool  enable = false)
protectedvirtualslot

◆ setTableAndColumnNames

void VirtualClusterLineEdit::setTableAndColumnNames ( const char *  pTabName,
const char *  pIdColumn,
const char *  pNumberColumn,
const char *  pNameColumn,
const char *  pDescripColumn,
const char *  pActiveColumn,
const char *  = 0,
const char *  = 0 
)
protectedvirtualslot

◆ setText()

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

◆ setTitles

void VirtualClusterLineEdit::setTitles ( const QString &  s,
const QString &  p = 0 
)
protectedvirtualslot

◆ setUiName

void VirtualClusterLineEdit::setUiName ( const QString &  name)
virtualslot

◆ setValidator()

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

◆ setViewPriv

void VirtualClusterLineEdit::setViewPriv ( const QString &  priv)
virtualslot

◆ sHandleCompleter

void VirtualClusterLineEdit::sHandleCompleter ( )
protectedvirtualslot

◆ sHandleNullStr

void VirtualClusterLineEdit::sHandleNullStr ( )
protectedvirtualslot

◆ silentSetId()

void VirtualClusterLineEdit::silentSetId ( const int  pId)
protectedvirtual

Reimplemented in OrderLineEdit, and QuoteLineEdit.

◆ sInfo

void VirtualClusterLineEdit::sInfo ( )
virtualslot

◆ sList

void VirtualClusterLineEdit::sList ( )
virtualslot

◆ sNew

void VirtualClusterLineEdit::sNew ( )
virtualslot

◆ sOpen

void VirtualClusterLineEdit::sOpen ( )
virtualslot

◆ sOpenWindow

QWidget * VirtualClusterLineEdit::sOpenWindow ( const QString &  uiName,
ParameterList &  params 
)
protectedvirtualslot

◆ sParse

void VirtualClusterLineEdit::sParse ( )
protectedvirtualslot

◆ sSearch

void VirtualClusterLineEdit::sSearch ( )
virtualslot

◆ sUpdateMenu

void VirtualClusterLineEdit::sUpdateMenu ( )
protectedvirtualslot

◆ toDouble()

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

◆ uiName()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::uiName ( ) const
inlinevirtual

◆ valid

void VirtualClusterLineEdit::valid ( bool  )
signal

◆ viewPriv()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::viewPriv ( ) const
inlinevirtual

Friends And Related Function Documentation

◆ VirtualCluster

friend class VirtualCluster
friend

◆ VirtualInfo

friend class VirtualInfo
friend

◆ VirtualList

friend class VirtualList
friend

◆ VirtualSearch

friend class VirtualSearch
friend

Member Data Documentation

◆ _activeClause

QString VirtualClusterLineEdit::_activeClause
protected

◆ _activeColName

QString VirtualClusterLineEdit::_activeColName
protected

◆ _aliasAct

QAction* XLineEdit::_aliasAct
protectedinherited

◆ _completer

QCompleter* VirtualClusterLineEdit::_completer
protected

◆ _completerId

int VirtualClusterLineEdit::_completerId
protected

◆ _copyAct

QAction* VirtualClusterLineEdit::_copyAct
protected

◆ _descripColName

QString VirtualClusterLineEdit::_descripColName
protected

◆ _description

QString VirtualClusterLineEdit::_description
protected

◆ _editPriv

QString VirtualClusterLineEdit::_editPriv
protected

◆ _extraClause

QString VirtualClusterLineEdit::_extraClause
protected

◆ _guiClientInterface

GuiClientInterface * VirtualClusterLineEdit::_guiClientInterface
static

◆ _hasActive

bool VirtualClusterLineEdit::_hasActive
protected

◆ _hasDescription

bool VirtualClusterLineEdit::_hasDescription
protected

◆ _hasName

bool VirtualClusterLineEdit::_hasName
protected

◆ _id

int XLineEdit::_id
protectedinherited

◆ _idClause

QString VirtualClusterLineEdit::_idClause
protected

◆ _idColName

QString VirtualClusterLineEdit::_idColName
protected

◆ _infoAct

QAction* VirtualClusterLineEdit::_infoAct
protected

◆ _listAct

QAction* XLineEdit::_listAct
protectedinherited

◆ _menu

QMenu* VirtualClusterLineEdit::_menu
protected

◆ _menuLabel

QLabel* VirtualClusterLineEdit::_menuLabel
protected

◆ _model

QSqlQueryModel* VirtualClusterLineEdit::_model
protected

◆ _name

QString VirtualClusterLineEdit::_name
protected

◆ _nameColName

QString VirtualClusterLineEdit::_nameColName
protected

◆ _newAct

QAction* VirtualClusterLineEdit::_newAct
protected

◆ _newPriv

QString VirtualClusterLineEdit::_newPriv
protected

◆ _nullStr

QString XLineEdit::_nullStr
protectedinherited

◆ _numClause

QString VirtualClusterLineEdit::_numClause
protected

◆ _numColName

QString VirtualClusterLineEdit::_numColName
protected

◆ _openAct

QAction* VirtualClusterLineEdit::_openAct
protected

◆ _parsed

bool XLineEdit::_parsed
protectedinherited

◆ _query

QString VirtualClusterLineEdit::_query
protected

◆ _searchAct

QAction* XLineEdit::_searchAct
protectedinherited

◆ _showInactive

bool VirtualClusterLineEdit::_showInactive
protected

◆ _strict

bool VirtualClusterLineEdit::_strict
protected

◆ _titlePlural

QString VirtualClusterLineEdit::_titlePlural
protected

◆ _titleSingular

QString VirtualClusterLineEdit::_titleSingular
protected

◆ _uiName

QString VirtualClusterLineEdit::_uiName
protected

◆ _valid

bool XLineEdit::_valid
protectedinherited

◆ _viewPriv

QString VirtualClusterLineEdit::_viewPriv
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