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

#include <addresscluster.h>

Public Types

enum  Mode { Edit, View, Select }
 
enum  SaveFlags { CHECK = 0, CHANGEONE = 1, CHANGEALL = 2 }
 

Properties

bool activeVisible
 
QString fieldNameActive
 
QString fieldNameAddressChange
 
QString fieldNameCity
 
QString fieldNameCountry
 
QString fieldNameLine1
 
QString fieldNameLine2
 
QString fieldNameLine3
 
QString fieldNameNumber
 
QString fieldNamePostalCode
 
QString fieldNameState
 
Mode mode
 
- 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

 AddressCluster (QWidget *, const char *=0)
 
virtual bool activeVisible () const
 
virtual QString addrChange () const
 
virtual void check ()
 
virtual Q_INVOKABLE QString city () const
 
virtual void clear ()
 
virtual Q_INVOKABLE QString country () const
 
virtual Q_INVOKABLE QString description () const
 
virtual QString fieldNameActive () const
 
virtual QString fieldNameAddrChange () const
 
virtual QString fieldNameCity () const
 
virtual QString fieldNameCountry () const
 
virtual QString fieldNameLine1 () const
 
virtual QString fieldNameLine2 () const
 
virtual QString fieldNameLine3 () const
 
virtual QString fieldNameNumber () const
 
virtual QString fieldNamePostalCode () const
 
virtual QString fieldNameState () const
 
virtual Q_INVOKABLE int id () const
 
virtual Q_INVOKABLE bool isValid () const
 
virtual QString label () const
 
virtual Q_INVOKABLE QString line1 () const
 
virtual Q_INVOKABLE QString line2 () const
 
virtual Q_INVOKABLE QString line3 () const
 
virtual Q_INVOKABLE Mode mode () const
 
virtual QString notes () const
 
virtual Q_INVOKABLE QString number () const
 
virtual void populateStateComboBox ()
 
virtual Q_INVOKABLE QString postalCode () const
 
virtual int save (enum SaveFlags)
 
virtual Q_INVOKABLE int searchAcctId ()
 
virtual void sEllipses ()
 
virtual void setActiveVisible (const bool p)
 
virtual void setAddrChange (QString p)
 
virtual void setCity (const QString &p)
 
virtual void setCountry (const QString &p)
 
virtual void setDataWidgetMap (XDataWidgetMapper *m)
 
virtual void setDescription (const QString &)
 
virtual void setExtraClause (const QString &)
 
virtual void setFieldNameActive (QString p)
 
virtual void setFieldNameAddrChange (QString p)
 
virtual void setFieldNameCity (QString p)
 
virtual void setFieldNameCountry (QString p)
 
virtual void setFieldNameLine1 (QString p)
 
virtual void setFieldNameLine2 (QString p)
 
virtual void setFieldNameLine3 (QString p)
 
virtual void setFieldNameNumber (QString p)
 
virtual void setFieldNamePostalCode (QString p)
 
virtual void setFieldNameState (QString p)
 
virtual void setId (const int)
 
virtual void setLabel (const QString &p)
 
virtual void setLine1 (const QString &p)
 
virtual void setLine2 (const QString &p)
 
virtual void setLine3 (const QString &p)
 
virtual void setListVisible (bool p)
 
virtual void setMode (const Mode p)
 
virtual void setNotes (const QString &p)
 
virtual void setNumber (QString p)
 
virtual void setNumber (const int)
 
virtual void setPostalCode (const QString &p)
 
virtual void setSearchAcct (const int crmAcctId)
 
virtual void setState (const QString &p)
 
virtual void sInfo ()
 
virtual void sList ()
 
virtual void sSearch ()
 
virtual Q_INVOKABLE QString state () const
 
- Public Member Functions inherited from VirtualCluster
 VirtualCluster (QWidget *, const char *=0)
 
 VirtualCluster (QWidget *, VirtualClusterLineEdit *=0, const char *=0)
 
virtual QString defaultNumber () const
 
virtual bool descriptionVisible () const
 
virtual Q_INVOKABLE QString extraClause () const
 
virtual QString fieldName () const
 
virtual Q_INVOKABLE bool isStrict () const
 
virtual Q_INVOKABLE QString name () const
 
virtual bool nameVisible () const
 
virtual QString nullStr () 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)
 
virtual void setOrientation (Qt::Orientation orientation)
 

Public Slots

virtual void clearExtraClause ()
 
- Public Slots inherited from VirtualCluster
virtual void clearExtraClause ()
 
virtual void setDefaultNumber (const QString &p)
 
virtual void setEnabled (const bool p)
 
virtual void setFieldName (QString p)
 
virtual void setName (const QString &p)
 
virtual void setNumber (const QString &p)
 
virtual void setReadOnly (const bool b)
 
virtual void setShowInactive (const bool)
 
virtual void setStrict (const bool b)
 
virtual void sRefresh ()
 
virtual void updateMapperData ()
 

Signals

void addressChanged (QString, QString, QString, QString, QString, QString, QString)
 
void changed ()
 
void newId (int)
 
- Signals inherited from VirtualCluster
void newId (int)
 
void valid (bool)
 

Protected Attributes

QCheckBox_active
 
XLineEdit_addr1
 
XLineEdit_addr2
 
XLineEdit_addr3
 
XLineEdit_addrChange
 
QLabel_addrLit
 
XLineEdit_city
 
QLabel_cityLit
 
XComboBox_country
 
QLabel_countryLit
 
QString _extraClause
 
Mode _mode
 
XLineEdit_number
 
XLineEdit_postalcode
 
QLabel_postalcodeLit
 
QString _query
 
XComboBox_state
 
QLabel_stateLit
 
- 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
 

Friends

class AddressInfo
 
class AddressList
 
class AddressSearch
 

Additional Inherited Members

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

Member Enumeration Documentation

Enumerator
Edit 
View 
Select 
Enumerator
CHECK 
CHANGEONE 
CHANGEALL 

Constructor & Destructor Documentation

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

Member Function Documentation

virtual bool AddressCluster::activeVisible ( ) const
inlinevirtual
virtual QString AddressCluster::addrChange ( ) const
inlinevirtual
void AddressCluster::addressChanged ( QString  ,
QString  ,
QString  ,
QString  ,
QString  ,
QString  ,
QString   
)
signal
void AddressCluster::changed ( )
signal
void AddressCluster::check ( )
virtual
virtual Q_INVOKABLE QString AddressCluster::city ( ) const
inlinevirtual
void AddressCluster::clear ( )
virtual

Reimplemented from VirtualCluster.

virtual void AddressCluster::clearExtraClause ( )
inlinevirtualslot
virtual Q_INVOKABLE QString AddressCluster::country ( ) const
inlinevirtual
virtual Q_INVOKABLE QString AddressCluster::description ( ) const
inlinevirtual

Reimplemented from VirtualCluster.

virtual QString AddressCluster::fieldNameActive ( ) const
inlinevirtual
virtual QString AddressCluster::fieldNameAddrChange ( ) const
inlinevirtual
virtual QString AddressCluster::fieldNameCity ( ) const
inlinevirtual
virtual QString AddressCluster::fieldNameCountry ( ) const
inlinevirtual
virtual QString AddressCluster::fieldNameLine1 ( ) const
inlinevirtual
virtual QString AddressCluster::fieldNameLine2 ( ) const
inlinevirtual
virtual QString AddressCluster::fieldNameLine3 ( ) const
inlinevirtual
virtual QString AddressCluster::fieldNameNumber ( ) const
inlinevirtual
virtual QString AddressCluster::fieldNamePostalCode ( ) const
inlinevirtual
virtual QString AddressCluster::fieldNameState ( ) const
inlinevirtual
virtual Q_INVOKABLE int AddressCluster::id ( ) const
inlinevirtual

Reimplemented from VirtualCluster.

virtual Q_INVOKABLE bool AddressCluster::isValid ( ) const
inlinevirtual

Reimplemented from VirtualCluster.

virtual QString AddressCluster::label ( ) const
inlinevirtual

Reimplemented from VirtualCluster.

virtual Q_INVOKABLE QString AddressCluster::line1 ( ) const
inlinevirtual
virtual Q_INVOKABLE QString AddressCluster::line2 ( ) const
inlinevirtual
virtual Q_INVOKABLE QString AddressCluster::line3 ( ) const
inlinevirtual
virtual Q_INVOKABLE Mode AddressCluster::mode ( ) const
inlinevirtual
void AddressCluster::newId ( int  )
signal
virtual QString AddressCluster::notes ( ) const
inlinevirtual
virtual Q_INVOKABLE QString AddressCluster::number ( ) const
inlinevirtual

Reimplemented from VirtualCluster.

void AddressCluster::populateStateComboBox ( )
virtual
virtual Q_INVOKABLE QString AddressCluster::postalCode ( ) const
inlinevirtual
int AddressCluster::save ( enum SaveFlags  flag)
virtual
virtual Q_INVOKABLE int AddressCluster::searchAcctId ( )
inlinevirtual
void AddressCluster::sEllipses ( )
virtual

Reimplemented from VirtualCluster.

void AddressCluster::setActiveVisible ( const bool  p)
virtual
void AddressCluster::setAddrChange ( QString  p)
virtual
virtual void AddressCluster::setCity ( const QString &  p)
inlinevirtual
void AddressCluster::setCountry ( const QString &  p)
virtual
void AddressCluster::setDataWidgetMap ( XDataWidgetMapper m)
virtual

Reimplemented from VirtualCluster.

virtual void AddressCluster::setDescription ( const QString &  )
inlinevirtual

Reimplemented from VirtualCluster.

virtual void AddressCluster::setExtraClause ( const QString &  )
inlinevirtual

Reimplemented from VirtualCluster.

virtual void AddressCluster::setFieldNameActive ( QString  p)
inlinevirtual
virtual void AddressCluster::setFieldNameAddrChange ( QString  p)
inlinevirtual
virtual void AddressCluster::setFieldNameCity ( QString  p)
inlinevirtual
virtual void AddressCluster::setFieldNameCountry ( QString  p)
inlinevirtual
virtual void AddressCluster::setFieldNameLine1 ( QString  p)
inlinevirtual
virtual void AddressCluster::setFieldNameLine2 ( QString  p)
inlinevirtual
virtual void AddressCluster::setFieldNameLine3 ( QString  p)
inlinevirtual
virtual void AddressCluster::setFieldNameNumber ( QString  p)
inlinevirtual
virtual void AddressCluster::setFieldNamePostalCode ( QString  p)
inlinevirtual
virtual void AddressCluster::setFieldNameState ( QString  p)
inlinevirtual
void AddressCluster::setId ( const int  pId)
virtual

Reimplemented from VirtualCluster.

virtual void AddressCluster::setLabel ( const QString &  p)
inlinevirtual

Reimplemented from VirtualCluster.

virtual void AddressCluster::setLine1 ( const QString &  p)
inlinevirtual
virtual void AddressCluster::setLine2 ( const QString &  p)
inlinevirtual
virtual void AddressCluster::setLine3 ( const QString &  p)
inlinevirtual
virtual void AddressCluster::setListVisible ( bool  p)
inlinevirtual
void AddressCluster::setMode ( const Mode  p)
virtual
virtual void AddressCluster::setNotes ( const QString &  p)
inlinevirtual
void AddressCluster::setNumber ( QString  p)
virtual
virtual void AddressCluster::setNumber ( const int  )
inlinevirtual

Reimplemented from VirtualCluster.

virtual void AddressCluster::setPostalCode ( const QString &  p)
inlinevirtual
virtual void AddressCluster::setSearchAcct ( const int  crmAcctId)
inlinevirtual
void AddressCluster::setState ( const QString &  p)
virtual
void AddressCluster::sInfo ( )
virtual

Reimplemented from VirtualCluster.

void AddressCluster::sList ( )
virtual

Reimplemented from VirtualCluster.

void AddressCluster::sSearch ( )
virtual

Reimplemented from VirtualCluster.

virtual Q_INVOKABLE QString AddressCluster::state ( ) const
inlinevirtual

Friends And Related Function Documentation

friend class AddressInfo
friend
friend class AddressList
friend
friend class AddressSearch
friend

Member Data Documentation

QCheckBox* AddressCluster::_active
protected
XLineEdit* AddressCluster::_addr1
protected
XLineEdit* AddressCluster::_addr2
protected
XLineEdit* AddressCluster::_addr3
protected
XLineEdit* AddressCluster::_addrChange
protected
QLabel* AddressCluster::_addrLit
protected
XLineEdit* AddressCluster::_city
protected
QLabel* AddressCluster::_cityLit
protected
XComboBox* AddressCluster::_country
protected
QLabel* AddressCluster::_countryLit
protected
QString AddressCluster::_extraClause
protected
Mode AddressCluster::_mode
protected
XLineEdit* AddressCluster::_number
protected
XLineEdit* AddressCluster::_postalcode
protected
QLabel* AddressCluster::_postalcodeLit
protected
QString AddressCluster::_query
protected
XComboBox* AddressCluster::_state
protected
QLabel* AddressCluster::_stateLit
protected

Property Documentation

bool AddressCluster::activeVisible
readwrite
QString AddressCluster::fieldNameActive
readwrite
QString AddressCluster::fieldNameAddressChange
readwrite
QString AddressCluster::fieldNameCity
readwrite
QString AddressCluster::fieldNameCountry
readwrite
QString AddressCluster::fieldNameLine1
readwrite
QString AddressCluster::fieldNameLine2
readwrite
QString AddressCluster::fieldNameLine3
readwrite
QString AddressCluster::fieldNameNumber
readwrite
QString AddressCluster::fieldNamePostalCode
readwrite
QString AddressCluster::fieldNameState
readwrite
Mode AddressCluster::mode
readwrite

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

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