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

#include <vendorcluster.h>

Inheritance diagram for VendorLineEdit:
VirtualClusterLineEdit XLineEdit QLineEdit

Public Types

enum  VendorLineEditTypes { AllVendors, ActiveVendors }
 

Properties

QString defaultText
 
QString fieldName
 
VendorLineEditTypes type
 

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)
 
bool setEditMode (bool)
 
virtual void setEditPriv (const QString &priv)
 
virtual void setFieldName (QString p)
 
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)
 
void setType (VendorLineEditTypes)
 
virtual void setUiName (const QString &name)
 
virtual void setViewPriv (const QString &priv)
 
virtual void sInfo ()
 
virtual void sList ()
 
void sNew ()
 
virtual void sOpen ()
 
virtual void sSearch ()
 

Signals

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

Public Member Functions

 VendorLineEdit (QWidget *=0, const char *=0)
 
bool canEdit ()
 
bool canOpen ()
 
virtual QString defaultText () const
 
virtual Q_INVOKABLE QString description () const
 
bool editMode ()
 
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
 
void setCanEdit (bool)
 
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)
 
VendorLineEditTypes type () const
 
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
 
VirtualListlistFactory ()
 
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)
 
void sParse ()
 
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
 
QAction_modeAct
 
QSqlQueryModel * _model
 
QAction_modeSep
 
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
 

Member Enumeration Documentation

◆ VendorLineEditTypes

Enumerator
AllVendors 
ActiveVendors 

Property Documentation

◆ defaultText

QString XLineEdit::defaultText
readwriteinherited

◆ fieldName

QString XLineEdit::fieldName
readwriteinherited

◆ type

VendorLineEditTypes VendorLineEdit::type
readwrite

Constructor & Destructor Documentation

◆ VendorLineEdit()

VendorLineEdit::VendorLineEdit ( QWidget pParent = 0,
const char *  pName = 0 
)

Member Function Documentation

◆ canEdit()

bool VendorLineEdit::canEdit ( )

◆ canOpen()

bool VendorLineEdit::canOpen ( )
virtual

Reimplemented from VirtualClusterLineEdit.

◆ clear

void VirtualClusterLineEdit::clear ( )
virtualslotinherited

Reimplemented in OrderLineEdit.

◆ clearExtraClause

virtual void VirtualClusterLineEdit::clearExtraClause ( )
inlineprotectedvirtualslotinherited

◆ clicked

void XLineEdit::clicked ( )
signalinherited

◆ completerActivated

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

◆ completerHighlighted

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

◆ defaultText()

virtual QString XLineEdit::defaultText ( ) const
inlinevirtualinherited

◆ description()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::description ( ) const
inlinevirtualinherited

◆ doubleClicked

void XLineEdit::doubleClicked ( )
signalinherited

◆ editable

void VendorLineEdit::editable ( bool  )
signal

◆ editMode()

bool VendorLineEdit::editMode ( )

◆ editPriv()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::editPriv ( ) const
inlinevirtualinherited

◆ eventFilter()

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

◆ extraClause

virtual QString VirtualClusterLineEdit::extraClause ( ) const
inlinevirtualslotinherited

◆ fieldName()

virtual QString XLineEdit::fieldName ( ) const
inlinevirtualinherited

Reimplemented in XDateEdit.

◆ focusInEvent()

void VirtualClusterLineEdit::focusInEvent ( QFocusEvent *  event)
protectedvirtualinherited

Reimplemented from XLineEdit.

◆ focusOutEvent()

void XLineEdit::focusOutEvent ( QFocusEvent *  event)
protectedvirtualinherited

◆ id()

int XLineEdit::id ( )
inherited

◆ infoFactory

VirtualInfo * VirtualClusterLineEdit::infoFactory ( )
protectedvirtualslotinherited

◆ isNull()

bool XLineEdit::isNull ( )
inherited

◆ isStrict

bool VirtualClusterLineEdit::isStrict ( ) const
inlineprotectedslotinherited

◆ isValid()

bool XLineEdit::isValid ( )
inherited

◆ keyPressEvent()

void XLineEdit::keyPressEvent ( QKeyEvent *  event)
protectedinherited

◆ listFactory

VirtualList * VendorLineEdit::listFactory ( )
protectedslot

◆ menu()

QMenu* VirtualClusterLineEdit::menu ( ) const
inlineinherited

◆ model()

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

◆ mouseDoubleClickEvent()

void XLineEdit::mouseDoubleClickEvent ( QMouseEvent *  event)
protectedinherited

◆ mousePressEvent()

void XLineEdit::mousePressEvent ( QMouseEvent *  event)
protectedinherited

◆ name()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::name ( ) const
inlinevirtualinherited

◆ newCrmacctId

void VendorLineEdit::newCrmacctId ( int  )
signal

◆ newId

void VirtualClusterLineEdit::newId ( int  )
signalinherited

◆ nullStr()

virtual Q_INVOKABLE QString XLineEdit::nullStr ( ) const
inlinevirtualinherited

◆ parsed

void VirtualClusterLineEdit::parsed ( )
signalinherited

◆ 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)
protectedvirtualinherited

◆ sCopy

void VirtualClusterLineEdit::sCopy ( )
virtualslotinherited

◆ searchFactory

VirtualSearch * VendorLineEdit::searchFactory ( )
protectedslot

◆ sEllipses

void VirtualClusterLineEdit::sEllipses ( )
virtualslotinherited

◆ setCanEdit()

void VendorLineEdit::setCanEdit ( bool  p)

◆ 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

◆ setEditMode

bool VendorLineEdit::setEditMode ( bool  p)
slot

◆ setEditPriv

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

◆ setExtraClause

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

Reimplemented in OrderLineEdit, ApopenLineEdit, and AropenLineEdit.

◆ setFieldName

virtual void XLineEdit::setFieldName ( QString  p)
inlinevirtualslotinherited

◆ setId [1/2]

void VendorLineEdit::setId ( const int  pId)
slot

◆ setId [2/2]

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

◆ setMenu()

void VirtualClusterLineEdit::setMenu ( QMenu *  menu)
inherited

◆ setNewPriv

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

◆ setNullStr()

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

◆ setNumber

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

◆ setShowInactive

void VirtualClusterLineEdit::setShowInactive ( const bool  p)
virtualslotinherited

◆ setStrict

void VirtualClusterLineEdit::setStrict ( bool  b)
protectedslotinherited

◆ setStrikeOut

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

◆ 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 
)
protectedvirtualslotinherited

◆ setText()

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

◆ setTitles

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

◆ setType

void VendorLineEdit::setType ( VendorLineEditTypes  pType)
slot

◆ setUiName

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

◆ setValidator()

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

◆ setViewPriv

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

◆ sHandleCompleter

void VirtualClusterLineEdit::sHandleCompleter ( )
protectedvirtualslotinherited

◆ sHandleNullStr

void VirtualClusterLineEdit::sHandleNullStr ( )
protectedvirtualslotinherited

◆ silentSetId()

void VirtualClusterLineEdit::silentSetId ( const int  pId)
protectedvirtualinherited

Reimplemented in OrderLineEdit, and QuoteLineEdit.

◆ sInfo

void VirtualClusterLineEdit::sInfo ( )
virtualslotinherited

◆ sList

void VirtualClusterLineEdit::sList ( )
virtualslotinherited

◆ sNew

void VendorLineEdit::sNew ( )
slot

◆ sOpen

void VirtualClusterLineEdit::sOpen ( )
virtualslotinherited

◆ sOpenWindow

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

◆ sParse

void VendorLineEdit::sParse ( )
protectedslot

◆ sSearch

void VirtualClusterLineEdit::sSearch ( )
virtualslotinherited

◆ sUpdateMenu

void VendorLineEdit::sUpdateMenu ( )
protectedslot

◆ toDouble()

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

◆ type()

VendorLineEditTypes VendorLineEdit::type ( ) const
inline

◆ uiName()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::uiName ( ) const
inlinevirtualinherited

◆ valid

void VirtualClusterLineEdit::valid ( bool  )
signalinherited

◆ viewPriv()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::viewPriv ( ) const
inlinevirtualinherited

Member Data Documentation

◆ _activeClause

QString VirtualClusterLineEdit::_activeClause
protectedinherited

◆ _activeColName

QString VirtualClusterLineEdit::_activeColName
protectedinherited

◆ _aliasAct

QAction* XLineEdit::_aliasAct
protectedinherited

◆ _completer

QCompleter* VirtualClusterLineEdit::_completer
protectedinherited

◆ _completerId

int VirtualClusterLineEdit::_completerId
protectedinherited

◆ _copyAct

QAction* VirtualClusterLineEdit::_copyAct
protectedinherited

◆ _descripColName

QString VirtualClusterLineEdit::_descripColName
protectedinherited

◆ _description

QString VirtualClusterLineEdit::_description
protectedinherited

◆ _editPriv

QString VirtualClusterLineEdit::_editPriv
protectedinherited

◆ _extraClause

QString VirtualClusterLineEdit::_extraClause
protectedinherited

◆ _guiClientInterface

GuiClientInterface * VirtualClusterLineEdit::_guiClientInterface
staticinherited

◆ _hasActive

bool VirtualClusterLineEdit::_hasActive
protectedinherited

◆ _hasDescription

bool VirtualClusterLineEdit::_hasDescription
protectedinherited

◆ _hasName

bool VirtualClusterLineEdit::_hasName
protectedinherited

◆ _id

int XLineEdit::_id
protectedinherited

◆ _idClause

QString VirtualClusterLineEdit::_idClause
protectedinherited

◆ _idColName

QString VirtualClusterLineEdit::_idColName
protectedinherited

◆ _infoAct

QAction* VirtualClusterLineEdit::_infoAct
protectedinherited

◆ _listAct

QAction* XLineEdit::_listAct
protectedinherited

◆ _menu

QMenu* VirtualClusterLineEdit::_menu
protectedinherited

◆ _menuLabel

QLabel* VirtualClusterLineEdit::_menuLabel
protectedinherited

◆ _modeAct

QAction* VendorLineEdit::_modeAct
protected

◆ _model

QSqlQueryModel* VirtualClusterLineEdit::_model
protectedinherited

◆ _modeSep

QAction* VendorLineEdit::_modeSep
protected

◆ _name

QString VirtualClusterLineEdit::_name
protectedinherited

◆ _nameColName

QString VirtualClusterLineEdit::_nameColName
protectedinherited

◆ _newAct

QAction* VirtualClusterLineEdit::_newAct
protectedinherited

◆ _newPriv

QString VirtualClusterLineEdit::_newPriv
protectedinherited

◆ _nullStr

QString XLineEdit::_nullStr
protectedinherited

◆ _numClause

QString VirtualClusterLineEdit::_numClause
protectedinherited

◆ _numColName

QString VirtualClusterLineEdit::_numColName
protectedinherited

◆ _openAct

QAction* VirtualClusterLineEdit::_openAct
protectedinherited

◆ _parsed

bool XLineEdit::_parsed
protectedinherited

◆ _query

QString VirtualClusterLineEdit::_query
protectedinherited

◆ _searchAct

QAction* XLineEdit::_searchAct
protectedinherited

◆ _showInactive

bool VirtualClusterLineEdit::_showInactive
protectedinherited

◆ _strict

bool VirtualClusterLineEdit::_strict
protectedinherited

◆ _titlePlural

QString VirtualClusterLineEdit::_titlePlural
protectedinherited

◆ _titleSingular

QString VirtualClusterLineEdit::_titleSingular
protectedinherited

◆ _uiName

QString VirtualClusterLineEdit::_uiName
protectedinherited

◆ _valid

bool XLineEdit::_valid
protectedinherited

◆ _viewPriv

QString VirtualClusterLineEdit::_viewPriv
protectedinherited

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