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

#include <itemcluster.h>

Inheritance diagram for ItemLineEdit:
VirtualClusterLineEdit XLineEdit QLineEdit

Public Types

enum  Type {
  cUndefined, cPurchased, cManufactured, cPhantom,
  cBreeder, cCoProduct, cByProduct, cReference,
  cCosting, cTooling, cOutsideProcess, cPlanning,
  cKit, cAllItemTypes_Mask, cPlanningMRP, cPlanningMPS,
  cPlanningNone, cPlanningAny, cHasBom, cUsedOnBom,
  cItemActive, cSold, cLocationControlled, cLotSerialControlled,
  cDefaultLocation, cActive, cGeneralManufactured, cGeneralPurchased,
  cGeneralComponents, cGeneralInventory, cKitComponents
}
 

Properties

QString defaultText
 
QString fieldName
 
unsigned int type
 

Public Slots

virtual void clear ()
 
virtual QString extraClause () const
 
void sAlias ()
 
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)
 
void setId (const int)
 
virtual void setId (const int, const QString &)
 
void setItemNumber (const QString &pNumber)
 
void setItemsiteid (int)
 
virtual void setNewPriv (const QString &priv)
 
void setNumber (const QString &pNumber)
 
virtual void setShowInactive (const bool)
 
virtual void setUiName (const QString &name)
 
virtual void setViewPriv (const QString &priv)
 
void sHandleCompleter ()
 
void silentSetId (const int)
 
void sInfo ()
 
void sList ()
 
virtual void sNew ()
 
virtual void sOpen ()
 
void sParse ()
 
void sSearch ()
 
void sSearch (ParameterList params)
 

Signals

void aliasChanged (const QString &)
 
void clicked ()
 
void configured (bool)
 
void descrip1Changed (const QString &)
 
void descrip2Changed (const QString &)
 
void doubleClicked ()
 
void fractional (bool)
 
void newId (int)
 
void parsed ()
 
void privateIdChanged (int)
 
void requestAlias ()
 
void requestInfo ()
 
void requestList ()
 
void requestSearch ()
 
void typeChanged (const QString &)
 
void uomChanged (const QString &)
 
void upcChanged (const QString &)
 
void valid (bool)
 
void warehouseIdChanged (int)
 

Public Member Functions

 ItemLineEdit (QWidget *, const char *=0)
 
Q_INVOKABLE void addExtraClause (const QString &)
 
virtual Q_INVOKABLE bool canOpen ()
 
Q_INVOKABLE void clearExtraClauseList ()
 
virtual QString defaultText () const
 
virtual Q_INVOKABLE QString description () const
 
virtual Q_INVOKABLE QString editPriv () const
 
virtual QString fieldName () const
 
Q_INVOKABLE QStringList getExtraClauseList () const
 
Q_INVOKABLE int id ()
 
Q_INVOKABLE bool isConfigured ()
 
Q_INVOKABLE bool isFractional ()
 
Q_INVOKABLE bool isNull ()
 
Q_INVOKABLE bool isValid ()
 
Q_INVOKABLE ItemLineEditDelegateitemDelegate ()
 
Q_INVOKABLE QString itemNumber ()
 
Q_INVOKABLE QString itemType ()
 
QMenu * menu () const
 
virtual Q_INVOKABLE QSqlQueryModel * model () const
 
virtual Q_INVOKABLE QString name () const
 
virtual Q_INVOKABLE QString nullStr () const
 
Q_INVOKABLE int queryUsed () const
 
Q_INVOKABLE void setCRMAcctId (unsigned int)
 
Q_INVOKABLE void setDefaultType (unsigned int pType)
 
virtual Q_INVOKABLE void setDouble (const double, const int=-1)
 
void setMenu (QMenu *menu)
 
virtual Q_INVOKABLE void setNullStr (const QString &text)
 
Q_INVOKABLE void setQuery (const QString &pSql)
 
virtual void setText (const QVariant &)
 
Q_INVOKABLE void setType (unsigned int pType)
 
Q_INVOKABLE void setValidationQuery (const QString &pSql)
 
Q_INVOKABLE void setValidator (QValidator *v)
 
Q_INVOKABLE double toDouble (bool *=0)
 
Q_INVOKABLE unsigned int type () const
 
virtual Q_INVOKABLE QString uiName () const
 
Q_INVOKABLE QString uom ()
 
Q_INVOKABLE QString upc ()
 
Q_INVOKABLE int validationQueryUsed () 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
 
itemListlistFactory ()
 
itemSearchsearchFactory ()
 
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 sHandleNullStr ()
 
virtual QWidgetsOpenWindow (const QString &uiName, ParameterList &params)
 
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)
 

Protected Attributes

QString _activeClause
 
QString _activeColName
 
QStringList _alias
 
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 ItemCluster
 
class ItemLineEditDelegate
 
class itemList
 
class itemSearch
 

Member Enumeration Documentation

◆ Type

Enumerator
cUndefined 
cPurchased 
cManufactured 
cPhantom 
cBreeder 
cCoProduct 
cByProduct 
cReference 
cCosting 
cTooling 
cOutsideProcess 
cPlanning 
cKit 
cAllItemTypes_Mask 
cPlanningMRP 
cPlanningMPS 
cPlanningNone 
cPlanningAny 
cHasBom 
cUsedOnBom 
cItemActive 
cSold 
cLocationControlled 
cLotSerialControlled 
cDefaultLocation 
cActive 
cGeneralManufactured 
cGeneralPurchased 
cGeneralComponents 
cGeneralInventory 
cKitComponents 

Property Documentation

◆ defaultText

QString XLineEdit::defaultText
readwriteinherited

◆ fieldName

QString XLineEdit::fieldName
readwriteinherited

◆ type

unsigned int ItemLineEdit::type
readwrite

Constructor & Destructor Documentation

◆ ItemLineEdit()

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

Member Function Documentation

◆ addExtraClause()

void ItemLineEdit::addExtraClause ( const QString &  pClause)

◆ aliasChanged

void ItemLineEdit::aliasChanged ( const QString &  )
signal

◆ canOpen()

bool VirtualClusterLineEdit::canOpen ( )
virtualinherited

Reimplemented in CLineEdit, and VendorLineEdit.

◆ clear

void VirtualClusterLineEdit::clear ( )
virtualslotinherited

Reimplemented in OrderLineEdit.

◆ clearExtraClause

virtual void VirtualClusterLineEdit::clearExtraClause ( )
inlineprotectedvirtualslotinherited

◆ clearExtraClauseList()

Q_INVOKABLE void ItemLineEdit::clearExtraClauseList ( )
inline

◆ clicked

void XLineEdit::clicked ( )
signalinherited

◆ completerActivated

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

◆ completerHighlighted

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

◆ configured

void ItemLineEdit::configured ( bool  )
signal

◆ defaultText()

virtual QString XLineEdit::defaultText ( ) const
inlinevirtualinherited

◆ descrip1Changed

void ItemLineEdit::descrip1Changed ( const QString &  )
signal

◆ descrip2Changed

void ItemLineEdit::descrip2Changed ( const QString &  )
signal

◆ description()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::description ( ) const
inlinevirtualinherited

◆ doubleClicked

void XLineEdit::doubleClicked ( )
signalinherited

◆ 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

◆ fractional

void ItemLineEdit::fractional ( bool  )
signal

◆ getExtraClauseList()

Q_INVOKABLE QStringList ItemLineEdit::getExtraClauseList ( ) const
inline

◆ id()

int XLineEdit::id ( )
inherited

◆ infoFactory

VirtualInfo * VirtualClusterLineEdit::infoFactory ( )
protectedvirtualslotinherited

◆ isConfigured()

bool ItemLineEdit::isConfigured ( )

◆ isFractional()

bool ItemLineEdit::isFractional ( )

◆ isNull()

bool XLineEdit::isNull ( )
inherited

◆ isStrict

bool VirtualClusterLineEdit::isStrict ( ) const
inlineprotectedslotinherited

◆ isValid()

bool XLineEdit::isValid ( )
inherited

◆ itemDelegate()

Q_INVOKABLE ItemLineEditDelegate* ItemLineEdit::itemDelegate ( )
inline

◆ itemNumber()

QString ItemLineEdit::itemNumber ( )

◆ itemType()

QString ItemLineEdit::itemType ( )

◆ keyPressEvent()

void XLineEdit::keyPressEvent ( QKeyEvent *  event)
protectedinherited

◆ listFactory

itemList * ItemLineEdit::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

◆ newId

void ItemLineEdit::newId ( int  )
signal

◆ nullStr()

virtual Q_INVOKABLE QString XLineEdit::nullStr ( ) const
inlinevirtualinherited

◆ parsed

void VirtualClusterLineEdit::parsed ( )
signalinherited

◆ privateIdChanged

void ItemLineEdit::privateIdChanged ( int  )
signal

◆ queryUsed()

Q_INVOKABLE int ItemLineEdit::queryUsed ( ) const
inline

◆ 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

◆ sAlias

void ItemLineEdit::sAlias ( )
slot

◆ sCopy

void ItemLineEdit::sCopy ( )
slot

◆ searchFactory

itemSearch * ItemLineEdit::searchFactory ( )
protectedslot

◆ sEllipses

void VirtualClusterLineEdit::sEllipses ( )
virtualslotinherited

◆ setCRMAcctId()

void ItemLineEdit::setCRMAcctId ( unsigned int  pAcct)

◆ 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

◆ setDefaultType()

Q_INVOKABLE void ItemLineEdit::setDefaultType ( unsigned int  pType)
inline

◆ setDouble()

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

◆ 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 ItemLineEdit::setId ( const int  pId)
slot

◆ setId [2/2]

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

◆ setItemNumber

void ItemLineEdit::setItemNumber ( const QString &  pNumber)
slot

◆ setItemsiteid

void ItemLineEdit::setItemsiteid ( int  pItemsiteid)
slot

◆ 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 ItemLineEdit::setNumber ( const QString &  pNumber)
inlineslot

◆ setQuery()

Q_INVOKABLE void ItemLineEdit::setQuery ( const QString &  pSql)
inline

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

Q_INVOKABLE void ItemLineEdit::setType ( unsigned int  pType)
inline

◆ setUiName

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

◆ setValidationQuery()

Q_INVOKABLE void ItemLineEdit::setValidationQuery ( const QString &  pSql)
inline

◆ setValidator()

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

◆ setViewPriv

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

◆ sHandleCompleter

void ItemLineEdit::sHandleCompleter ( )
slot

◆ sHandleNullStr

void VirtualClusterLineEdit::sHandleNullStr ( )
protectedvirtualslotinherited

◆ silentSetId

void ItemLineEdit::silentSetId ( const int  pId)
slot

◆ sInfo

void ItemLineEdit::sInfo ( )
slot

◆ sList

void ItemLineEdit::sList ( )
slot

◆ sNew

void VirtualClusterLineEdit::sNew ( )
virtualslotinherited

◆ sOpen

void VirtualClusterLineEdit::sOpen ( )
virtualslotinherited

◆ sOpenWindow

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

◆ sParse

void ItemLineEdit::sParse ( )
slot

◆ sSearch [1/2]

void ItemLineEdit::sSearch ( )
slot

◆ sSearch [2/2]

void ItemLineEdit::sSearch ( ParameterList  params)
slot

◆ sUpdateMenu

void ItemLineEdit::sUpdateMenu ( )
protectedslot

◆ toDouble()

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

◆ type()

Q_INVOKABLE unsigned int ItemLineEdit::type ( ) const
inline

◆ typeChanged

void ItemLineEdit::typeChanged ( const QString &  )
signal

◆ uiName()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::uiName ( ) const
inlinevirtualinherited

◆ uom()

QString ItemLineEdit::uom ( )

◆ uomChanged

void ItemLineEdit::uomChanged ( const QString &  )
signal

◆ upc()

QString ItemLineEdit::upc ( )

◆ upcChanged

void ItemLineEdit::upcChanged ( const QString &  )
signal

◆ valid

void ItemLineEdit::valid ( bool  )
signal

◆ validationQueryUsed()

Q_INVOKABLE int ItemLineEdit::validationQueryUsed ( ) const
inline

◆ viewPriv()

virtual Q_INVOKABLE QString VirtualClusterLineEdit::viewPriv ( ) const
inlinevirtualinherited

◆ warehouseIdChanged

void ItemLineEdit::warehouseIdChanged ( int  )
signal

Friends And Related Function Documentation

◆ ItemCluster

friend class ItemCluster
friend

◆ ItemLineEditDelegate

friend class ItemLineEditDelegate
friend

◆ itemList

friend class itemList
friend

◆ itemSearch

friend class itemSearch
friend

Member Data Documentation

◆ _activeClause

QString VirtualClusterLineEdit::_activeClause
protectedinherited

◆ _activeColName

QString VirtualClusterLineEdit::_activeColName
protectedinherited

◆ _alias

QStringList ItemLineEdit::_alias
protected

◆ _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

◆ _model

QSqlQueryModel* VirtualClusterLineEdit::_model
protectedinherited

◆ _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 Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17