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

#include <itemcluster.h>

Properties

unsigned int type
 
- Properties inherited from VirtualCluster
QString defaultNumber
 
bool descriptionVisible
 
QString fieldName
 
QString label
 
bool nameVisible
 
QString nullStr
 
QString number
 
Qt::Orientation orientation
 
bool readOnly
 

Public Member Functions

 ItemCluster (QWidget *, const char *=0)
 
Q_INVOKABLE void addExtraClause (const QString &pClause)
 
Q_INVOKABLE void clearExtraClauseList ()
 
Q_INVOKABLE QStringList getExtraClauseList () const
 
Q_INVOKABLE bool isConfigured () const
 
Q_INVOKABLE bool isFractional () const
 
Q_INVOKABLE ItemLineEdititemLineEdit ()
 
Q_INVOKABLE QString itemNumber () const
 
Q_INVOKABLE QString itemType () const
 
Q_INVOKABLE void setDefaultType (unsigned int pType)
 
void setDisabled (bool)
 
void setEnabled (const bool)
 
void setOrientation (Qt::Orientation orientation)
 
Q_INVOKABLE void setQuery (const QString &pSql)
 
Q_INVOKABLE void setReadOnly (const bool)
 
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
 
- Public Member Functions inherited from VirtualCluster
 VirtualCluster (QWidget *, const char *=0)
 
 VirtualCluster (QWidget *, VirtualClusterLineEdit *=0, const char *=0)
 
virtual QString defaultNumber () const
 
virtual Q_INVOKABLE QString description () const
 
virtual bool descriptionVisible () const
 
virtual Q_INVOKABLE QString extraClause () const
 
virtual QString fieldName () const
 
virtual Q_INVOKABLE int id () const
 
virtual Q_INVOKABLE bool isStrict () const
 
virtual Q_INVOKABLE bool isValid () const
 
virtual QString label () const
 
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
 
virtual void setDescriptionVisible (const bool p)
 
virtual void setNameVisible (const bool p)
 
virtual void setNullStr (const QString &text)
 

Public Slots

QItemDelegateitemDelegate ()
 
void setDescriptionVisible (const bool p)
 
void setId (const int pId)
 
void setItemNumber (QString)
 
void setItemsiteid (int)
 
- Public Slots inherited from VirtualCluster
virtual void clear ()
 
virtual void clearExtraClause ()
 
virtual void sEllipses ()
 
virtual void setDataWidgetMap (XDataWidgetMapper *m)
 
virtual void setDefaultNumber (const QString &p)
 
virtual void setDescription (const QString &p)
 
virtual void setExtraClause (const QString &p)
 
virtual void setFieldName (QString p)
 
virtual void setId (const int p)
 
virtual void setLabel (const QString &p)
 
virtual void setName (const QString &p)
 
virtual void setNumber (const int p)
 
virtual void setNumber (const 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 privateIdChanged (int)
 
void typeChanged (const QString &)
 
void uomChanged (const QString &)
 
void upcChanged (const QString &)
 
void warehouseIdChanged (int)
 
- Signals inherited from VirtualCluster
void newId (int)
 
void valid (bool)
 

Protected Member Functions

void addNumberWidget (ItemLineEdit *pNumberWidget)
 
- Protected Member Functions inherited from VirtualCluster
virtual void addNumberWidget (VirtualClusterLineEdit *pNumberWidget)
 

Friends

class ContactList
 
class ContactSearch
 

Additional Inherited Members

- Protected Attributes inherited from VirtualCluster
QString _default
 
QLabel_description
 
QString _fieldName
 
QGridLayout * _grid
 
QSpacerItem * _hspcr
 
QLabel_label
 
XDataWidgetMapper_mapper
 
QLabel_name
 
VirtualClusterLineEdit_number
 
Qt::Orientation _orientation
 
bool _readOnly
 

Constructor & Destructor Documentation

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

Member Function Documentation

Q_INVOKABLE void ItemCluster::addExtraClause ( const QString &  pClause)
inline
void ItemCluster::addNumberWidget ( ItemLineEdit pNumberWidget)
protected
void ItemCluster::aliasChanged ( const QString &  )
signal
Q_INVOKABLE void ItemCluster::clearExtraClauseList ( )
inline
void ItemCluster::configured ( bool  )
signal
void ItemCluster::descrip1Changed ( const QString &  )
signal
void ItemCluster::descrip2Changed ( const QString &  )
signal
void ItemCluster::fractional ( bool  )
signal
Q_INVOKABLE QStringList ItemCluster::getExtraClauseList ( ) const
inline
Q_INVOKABLE bool ItemCluster::isConfigured ( ) const
inline
Q_INVOKABLE bool ItemCluster::isFractional ( ) const
inline
QItemDelegate* ItemCluster::itemDelegate ( )
inlineslot
Q_INVOKABLE ItemLineEdit* ItemCluster::itemLineEdit ( )
inline
Q_INVOKABLE QString ItemCluster::itemNumber ( ) const
inline
Q_INVOKABLE QString ItemCluster::itemType ( ) const
inline
void ItemCluster::privateIdChanged ( int  )
signal
Q_INVOKABLE void ItemCluster::setDefaultType ( unsigned int  pType)
inline
void ItemCluster::setDescriptionVisible ( const bool  p)
slot
void ItemCluster::setDisabled ( bool  pDisabled)
void ItemCluster::setEnabled ( const bool  pEnabled)
virtual

Reimplemented from VirtualCluster.

void ItemCluster::setId ( const int  pId)
slot
void ItemCluster::setItemNumber ( QString  pNumber)
slot
void ItemCluster::setItemsiteid ( int  intPItemsiteid)
slot
void ItemCluster::setOrientation ( Qt::Orientation  orientation)
virtual

Reimplemented from VirtualCluster.

Q_INVOKABLE void ItemCluster::setQuery ( const QString &  pSql)
inline
void ItemCluster::setReadOnly ( const bool  pReadOnly)
virtual

Reimplemented from VirtualCluster.

Q_INVOKABLE void ItemCluster::setType ( unsigned int  pType)
inline
Q_INVOKABLE void ItemCluster::setValidationQuery ( const QString &  pSql)
inline
Q_INVOKABLE unsigned int ItemCluster::type ( ) const
inline
void ItemCluster::typeChanged ( const QString &  )
signal
Q_INVOKABLE QString ItemCluster::uom ( ) const
inline
void ItemCluster::uomChanged ( const QString &  )
signal
Q_INVOKABLE QString ItemCluster::upc ( ) const
inline
void ItemCluster::upcChanged ( const QString &  )
signal
void ItemCluster::warehouseIdChanged ( int  )
signal

Friends And Related Function Documentation

friend class ContactList
friend
friend class ContactSearch
friend

Property Documentation

unsigned int ItemCluster::type
readwrite

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

Generated on Fri Oct 7 2016 14:23:30 xTuple ERP Programmer Reference, Version 4.2.0 doxygen 1.8.10