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

#include <itemcluster.h>

Inheritance diagram for ItemCluster:
VirtualCluster QWidget ScriptableWidget

Properties

QString defaultNumber
 
bool descriptionVisible
 
QString fieldName
 
QString label
 
bool nameVisible
 
QString nullStr
 
QString number
 
Qt::Orientation orientation
 
bool readOnly
 
unsigned int type
 

Public Slots

virtual void clear ()
 
virtual void clearExtraClause ()
 
QItemDelegateitemDelegate ()
 
virtual void sEllipses ()
 
virtual void setDataWidgetMap (XDataWidgetMapper *m)
 
virtual void setDefaultNumber (const QString &p)
 
virtual void setDescription (const QString &p)
 
void setDescriptionVisible (const bool p)
 
virtual void setEnabled (const bool p)
 
virtual void setExtraClause (const QString &p, const QString &=QString::null)
 
virtual void setFieldName (QString p)
 
void setId (const int pId, const QString &=QString::null)
 
void setItemNumber (QString)
 
void setItemsiteid (int)
 
virtual void setLabel (const QString &p)
 
virtual void setName (int, const QString &p)
 
virtual void setNumber (const int p)
 
virtual void setNumber (QString p)
 
virtual void setShowInactive (const bool)
 
virtual void setStrict (const bool b)
 
virtual void sInfo ()
 
virtual void sList ()
 
virtual void sRefresh ()
 
virtual void sSearch ()
 
virtual void updateMapperData ()
 

Signals

void aliasChanged (const QString &)
 
void configured (bool)
 
void descrip1Changed (const QString &)
 
void descrip2Changed (const QString &)
 
void fractional (bool)
 
void newId (int)
 
void privateIdChanged (int)
 
void typeChanged (const QString &)
 
void uomChanged (const QString &)
 
void upcChanged (const QString &)
 
void valid (bool)
 
void warehouseIdChanged (int)
 

Public Member Functions

 ItemCluster (QWidget *, const char *=0)
 
Q_INVOKABLE void addExtraClause (const QString &pClause)
 
Q_INVOKABLE void clearExtraClauseList ()
 
virtual QString defaultNumber () const
 
virtual Q_INVOKABLE QString description () const
 
virtual bool descriptionVisible () const
 
virtual QScriptEngine * engine ()
 
virtual Q_INVOKABLE QString extraClause () const
 
virtual QString fieldName () const
 
Q_INVOKABLE QStringList getExtraClauseList () const
 
virtual Q_INVOKABLE int id () const
 
Q_INVOKABLE bool isConfigured () const
 
Q_INVOKABLE bool isFractional () const
 
virtual Q_INVOKABLE bool isStrict () const
 
virtual Q_INVOKABLE bool isValid () const
 
Q_INVOKABLE ItemLineEdititemLineEdit ()
 
Q_INVOKABLE QString itemNumber () const
 
Q_INVOKABLE QString itemType () const
 
virtual QString label () const
 
virtual void loadScript (const QString &oName)
 
virtual void loadScript (const QStringList &list)
 
virtual void loadScriptEngine ()
 
virtual Q_INVOKABLE QString name () const
 
virtual bool nameVisible () const
 
virtual QString nullStr () const
 
virtual QString number () const
 
virtual Qt::Orientation orientation ()
 
virtual bool readOnly () const
 
Q_INVOKABLE void setCRMAcctId (unsigned int)
 
Q_INVOKABLE void setDefaultType (unsigned int pType)
 
virtual void setNameVisible (const bool p)
 
virtual void setNullStr (const QString &text)
 
void setOrientation (Qt::Orientation orientation)
 
Q_INVOKABLE void setQuery (const QString &pSql)
 
Q_INVOKABLE void setReadOnly (const bool)
 
virtual Q_INVOKABLE bool setScriptableParams (ParameterList &)
 
Q_INVOKABLE void setType (unsigned int pType)
 
Q_INVOKABLE void setValidationQuery (const QString &pSql)
 
Q_INVOKABLE unsigned int type () const
 
Q_INVOKABLE QString uom () const
 
Q_INVOKABLE QString upc () const
 

Static Public Attributes

static GuiClientInterface_guiClientInterface
 

Protected Member Functions

void addNumberWidget (VirtualClusterLineEdit *pNumberWidget)
 
virtual void showEvent (QShowEvent *e)
 

Protected Attributes

QScriptEngineDebugger * _debugger
 
QLabel_description
 
QScriptEngine * _engine
 
QString _fieldName
 
QGridLayout * _grid
 
QSpacerItem * _hspcr
 
QLabel_label
 
XDataWidgetMapper_mapper
 
QLabel_name
 
VirtualClusterLineEdit_number
 
Qt::Orientation _orientation
 
bool _readOnly
 
bool _scriptLoaded
 
QWidget_self
 

Static Protected Attributes

static ScriptCache_cache
 

Friends

class ContactList
 
class ContactSearch
 

Property Documentation

◆ defaultNumber

QString VirtualCluster::defaultNumber
readwriteinherited

◆ descriptionVisible

bool VirtualCluster::descriptionVisible
readwriteinherited

◆ fieldName

QString VirtualCluster::fieldName
readwriteinherited

◆ label

QString VirtualCluster::label
readwriteinherited

◆ nameVisible

bool VirtualCluster::nameVisible
readwriteinherited

◆ nullStr

QString VirtualCluster::nullStr
readwriteinherited

◆ number

QString VirtualCluster::number
readwriteinherited

◆ orientation

Qt::Orientation VirtualCluster::orientation
readwriteinherited

◆ readOnly

bool VirtualCluster::readOnly
readwriteinherited

◆ type

unsigned int ItemCluster::type
readwrite

Constructor & Destructor Documentation

◆ ItemCluster()

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

Member Function Documentation

◆ addExtraClause()

Q_INVOKABLE void ItemCluster::addExtraClause ( const QString &  pClause)
inline

◆ addNumberWidget()

void ItemCluster::addNumberWidget ( VirtualClusterLineEdit pNumberWidget)
protectedvirtual

Reimplemented from VirtualCluster.

◆ aliasChanged

void ItemCluster::aliasChanged ( const QString &  )
signal

◆ clear

void VirtualCluster::clear ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ clearExtraClause

void VirtualCluster::clearExtraClause ( )
virtualslotinherited

◆ clearExtraClauseList()

Q_INVOKABLE void ItemCluster::clearExtraClauseList ( )
inline

◆ configured

void ItemCluster::configured ( bool  )
signal

◆ defaultNumber()

virtual QString VirtualCluster::defaultNumber ( ) const
virtualinherited

◆ descrip1Changed

void ItemCluster::descrip1Changed ( const QString &  )
signal

◆ descrip2Changed

void ItemCluster::descrip2Changed ( const QString &  )
signal

◆ description()

QString VirtualCluster::description ( ) const
virtualinherited

Reimplemented in ContactWidget, and AddressCluster.

◆ descriptionVisible()

virtual bool VirtualCluster::descriptionVisible ( ) const
virtualinherited

Reimplemented in OrderCluster.

◆ engine()

QScriptEngine * ScriptableWidget::engine ( )
virtualinherited

Reimplemented in ScriptablePrivate.

◆ extraClause()

QString VirtualCluster::extraClause ( ) const
virtualinherited

◆ fieldName()

virtual QString VirtualCluster::fieldName ( ) const
virtualinherited

◆ fractional

void ItemCluster::fractional ( bool  )
signal

◆ getExtraClauseList()

Q_INVOKABLE QStringList ItemCluster::getExtraClauseList ( ) const
inline

◆ id()

int VirtualCluster::id ( ) const
virtualinherited

Reimplemented in ContactWidget, and AddressCluster.

◆ isConfigured()

Q_INVOKABLE bool ItemCluster::isConfigured ( ) const
inline

◆ isFractional()

Q_INVOKABLE bool ItemCluster::isFractional ( ) const
inline

◆ isStrict()

bool VirtualCluster::isStrict ( ) const
virtualinherited

◆ isValid()

bool VirtualCluster::isValid ( ) const
virtualinherited

Reimplemented in ContactWidget, and AddressCluster.

◆ itemDelegate

QItemDelegate* ItemCluster::itemDelegate ( )
inlineslot

◆ itemLineEdit()

Q_INVOKABLE ItemLineEdit* ItemCluster::itemLineEdit ( )
inline

◆ itemNumber()

Q_INVOKABLE QString ItemCluster::itemNumber ( ) const
inline

◆ itemType()

Q_INVOKABLE QString ItemCluster::itemType ( ) const
inline

◆ label()

virtual QString VirtualCluster::label ( ) const
virtualinherited

Reimplemented in ContactWidget, and AddressCluster.

◆ loadScript() [1/2]

void ScriptableWidget::loadScript ( const QString &  oName)
virtualinherited

◆ loadScript() [2/2]

void ScriptableWidget::loadScript ( const QStringList &  list)
virtualinherited

◆ loadScriptEngine()

void ScriptableWidget::loadScriptEngine ( )
virtualinherited

◆ name()

QString VirtualCluster::name ( ) const
virtualinherited

Reimplemented in ContactWidget, and ContactCluster.

◆ nameVisible()

virtual bool VirtualCluster::nameVisible ( ) const
virtualinherited

Reimplemented in OrderCluster.

◆ newId

void VirtualCluster::newId ( int  )
signalinherited

◆ nullStr()

virtual QString VirtualCluster::nullStr ( ) const
virtualinherited

◆ number()

virtual QString VirtualCluster::number ( ) const
virtualinherited

Reimplemented in ContactWidget, and AddressCluster.

◆ orientation()

virtual Qt::Orientation VirtualCluster::orientation ( )
virtualinherited

◆ privateIdChanged

void ItemCluster::privateIdChanged ( int  )
signal

◆ readOnly()

virtual bool VirtualCluster::readOnly ( ) const
virtualinherited

◆ sEllipses

void VirtualCluster::sEllipses ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ setCRMAcctId()

void ItemCluster::setCRMAcctId ( unsigned int  intPCRMAcctid)

◆ setDataWidgetMap

void VirtualCluster::setDataWidgetMap ( XDataWidgetMapper m)
virtualslotinherited

Reimplemented in AddressCluster.

◆ setDefaultNumber

void VirtualCluster::setDefaultNumber ( const QString &  p)
virtualslotinherited

◆ setDefaultType()

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

◆ setDescription

void VirtualCluster::setDescription ( const QString &  p)
virtualslotinherited

Reimplemented in AddressCluster.

◆ setDescriptionVisible

void ItemCluster::setDescriptionVisible ( const bool  p)
slot

◆ setEnabled

void VirtualCluster::setEnabled ( const bool  p)
virtualslotinherited

◆ setExtraClause

void VirtualCluster::setExtraClause ( const QString &  p,
const QString &  = QString::null 
)
virtualslotinherited

◆ setFieldName

void VirtualCluster::setFieldName ( QString  p)
virtualslotinherited

◆ setId

void ItemCluster::setId ( const int  pId,
const QString &  = QString::null 
)
slot

◆ setItemNumber

void ItemCluster::setItemNumber ( QString  pNumber)
slot

◆ setItemsiteid

void ItemCluster::setItemsiteid ( int  intPItemsiteid)
slot

◆ setLabel

void VirtualCluster::setLabel ( const QString &  p)
virtualslotinherited

Reimplemented in AddressCluster.

◆ setName

void VirtualCluster::setName ( int  ,
const QString &  p 
)
virtualslotinherited

Reimplemented in ContactCluster.

◆ setNameVisible()

void VirtualCluster::setNameVisible ( const bool  p)
virtualinherited

Reimplemented in OrderCluster.

◆ setNullStr()

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

◆ setNumber [1/2]

void VirtualCluster::setNumber ( const int  p)
virtualslotinherited

Reimplemented in AddressCluster.

◆ setNumber [2/2]

void VirtualCluster::setNumber ( QString  p)
virtualslotinherited

Reimplemented in AddressCluster.

◆ setOrientation()

void ItemCluster::setOrientation ( Qt::Orientation  orientation)
virtual

Reimplemented from VirtualCluster.

◆ setQuery()

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

◆ setReadOnly()

void ItemCluster::setReadOnly ( const bool  pReadOnly)
virtual

Reimplemented from VirtualCluster.

◆ setScriptableParams()

bool ScriptableWidget::setScriptableParams ( ParameterList &  params)
virtualinherited

◆ setShowInactive

void VirtualCluster::setShowInactive ( const bool  b)
virtualslotinherited

◆ setStrict

void VirtualCluster::setStrict ( const bool  b)
virtualslotinherited

◆ setType()

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

◆ setValidationQuery()

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

◆ showEvent()

void VirtualCluster::showEvent ( QShowEvent *  e)
protectedvirtualinherited

◆ sInfo

void VirtualCluster::sInfo ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ sList

void VirtualCluster::sList ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ sRefresh

void VirtualCluster::sRefresh ( )
virtualslotinherited

◆ sSearch

void VirtualCluster::sSearch ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ type()

Q_INVOKABLE unsigned int ItemCluster::type ( ) const
inline

◆ typeChanged

void ItemCluster::typeChanged ( const QString &  )
signal

◆ uom()

Q_INVOKABLE QString ItemCluster::uom ( ) const
inline

◆ uomChanged

void ItemCluster::uomChanged ( const QString &  )
signal

◆ upc()

Q_INVOKABLE QString ItemCluster::upc ( ) const
inline

◆ upcChanged

void ItemCluster::upcChanged ( const QString &  )
signal

◆ updateMapperData

void VirtualCluster::updateMapperData ( )
virtualslotinherited

◆ valid

void VirtualCluster::valid ( bool  )
signalinherited

◆ warehouseIdChanged

void ItemCluster::warehouseIdChanged ( int  )
signal

Friends And Related Function Documentation

◆ ContactList

friend class ContactList
friend

◆ ContactSearch

friend class ContactSearch
friend

Member Data Documentation

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _description

QLabel* VirtualCluster::_description
protectedinherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _fieldName

QString VirtualCluster::_fieldName
protectedinherited

◆ _grid

QGridLayout* VirtualCluster::_grid
protectedinherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _hspcr

QSpacerItem* VirtualCluster::_hspcr
protectedinherited

◆ _label

QLabel* VirtualCluster::_label
protectedinherited

◆ _mapper

XDataWidgetMapper* VirtualCluster::_mapper
protectedinherited

◆ _name

QLabel* VirtualCluster::_name
protectedinherited

◆ _number

VirtualClusterLineEdit* VirtualCluster::_number
protectedinherited

◆ _orientation

Qt::Orientation VirtualCluster::_orientation
protectedinherited

◆ _readOnly

bool VirtualCluster::_readOnly
protectedinherited

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 5.1.0 doxygen 1.8.17