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

#include <virtualCluster.h>

Properties

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

Public Member Functions

 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)
 
virtual void setOrientation (Qt::Orientation orientation)
 

Public Slots

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 setEnabled (const bool 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 setReadOnly (const bool b)
 
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 newId (int)
 
void valid (bool)
 

Protected Attributes

QString _default
 
QLabel_description
 
QString _fieldName
 
QGridLayout * _grid
 
QSpacerItem * _hspcr
 
QLabel_label
 
XDataWidgetMapper_mapper
 
QLabel_name
 
VirtualClusterLineEdit_number
 
Qt::Orientation _orientation
 
bool _readOnly
 

Protected Member Functions

virtual void addNumberWidget (VirtualClusterLineEdit *pNumberWidget)
 

Friends

class VirtualClusterLineEdit
 

Constructor & Destructor Documentation

VirtualCluster::VirtualCluster ( QWidget pParent,
const char *  pName = 0 
)
VirtualCluster::VirtualCluster ( QWidget pParent,
VirtualClusterLineEdit pNumberWidget = 0,
const char *  pName = 0 
)

Member Function Documentation

void VirtualCluster::addNumberWidget ( VirtualClusterLineEdit pNumberWidget)
protectedvirtual
void VirtualCluster::clear ( )
virtualslot

Reimplemented in AddressCluster.

virtual void VirtualCluster::clearExtraClause ( )
inlinevirtualslot
virtual QString VirtualCluster::defaultNumber ( ) const
inlinevirtual
virtual Q_INVOKABLE QString VirtualCluster::description ( ) const
inlinevirtual

Reimplemented in ContactWidget, and AddressCluster.

virtual bool VirtualCluster::descriptionVisible ( ) const
virtual
virtual Q_INVOKABLE QString VirtualCluster::extraClause ( ) const
inlinevirtual
virtual QString VirtualCluster::fieldName ( ) const
inlinevirtual
virtual Q_INVOKABLE int VirtualCluster::id ( ) const
inlinevirtual

Reimplemented in ContactWidget, and AddressCluster.

virtual Q_INVOKABLE bool VirtualCluster::isStrict ( ) const
inlinevirtual
virtual Q_INVOKABLE bool VirtualCluster::isValid ( ) const
inlinevirtual

Reimplemented in ContactWidget, and AddressCluster.

virtual QString VirtualCluster::label ( ) const
inlinevirtual

Reimplemented in ContactWidget, and AddressCluster.

virtual Q_INVOKABLE QString VirtualCluster::name ( ) const
inlinevirtual

Reimplemented in ContactWidget, and ContactCluster.

virtual bool VirtualCluster::nameVisible ( ) const
virtual
void VirtualCluster::newId ( int  )
signal
virtual QString VirtualCluster::nullStr ( ) const
virtual
virtual QString VirtualCluster::number ( ) const
inlinevirtual

Reimplemented in ContactWidget, and AddressCluster.

virtual Qt::Orientation VirtualCluster::orientation ( )
virtual
virtual bool VirtualCluster::readOnly ( ) const
inlinevirtual
void VirtualCluster::sEllipses ( )
virtualslot

Reimplemented in AddressCluster.

void VirtualCluster::setDataWidgetMap ( XDataWidgetMapper m)
virtualslot

Reimplemented in AddressCluster.

virtual void VirtualCluster::setDefaultNumber ( const QString &  p)
inlinevirtualslot
virtual void VirtualCluster::setDescription ( const QString &  p)
inlinevirtualslot

Reimplemented in AddressCluster.

void VirtualCluster::setDescriptionVisible ( const bool  p)
virtual

Reimplemented in OrderCluster.

void VirtualCluster::setEnabled ( const bool  p)
virtualslot

Reimplemented in ItemCluster.

virtual void VirtualCluster::setExtraClause ( const QString &  p)
inlinevirtualslot

Reimplemented in AddressCluster, and AropenCluster.

virtual void VirtualCluster::setFieldName ( QString  p)
inlinevirtualslot
virtual void VirtualCluster::setId ( const int  p)
inlinevirtualslot

Reimplemented in AddressCluster.

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

Reimplemented in AddressCluster.

virtual void VirtualCluster::setName ( const QString &  p)
inlinevirtualslot
void VirtualCluster::setNameVisible ( const bool  p)
virtual

Reimplemented in OrderCluster.

void VirtualCluster::setNullStr ( const QString &  text)
virtual
virtual void VirtualCluster::setNumber ( const int  p)
inlinevirtualslot

Reimplemented in AddressCluster.

virtual void VirtualCluster::setNumber ( const QString &  p)
inlinevirtualslot
void VirtualCluster::setOrientation ( Qt::Orientation  orientation)
virtual

Reimplemented in ItemCluster.

void VirtualCluster::setReadOnly ( const bool  b)
virtualslot

Reimplemented in ItemCluster.

void VirtualCluster::setShowInactive ( const bool  b)
virtualslot
void VirtualCluster::setStrict ( const bool  b)
virtualslot
void VirtualCluster::sInfo ( )
virtualslot

Reimplemented in AddressCluster.

void VirtualCluster::sList ( )
virtualslot

Reimplemented in AddressCluster.

void VirtualCluster::sRefresh ( )
virtualslot
void VirtualCluster::sSearch ( )
virtualslot

Reimplemented in AddressCluster.

void VirtualCluster::updateMapperData ( )
virtualslot
void VirtualCluster::valid ( bool  )
signal

Friends And Related Function Documentation

friend class VirtualClusterLineEdit
friend

Member Data Documentation

QString VirtualCluster::_default
protected
QLabel* VirtualCluster::_description
protected
QString VirtualCluster::_fieldName
protected
QGridLayout* VirtualCluster::_grid
protected
QSpacerItem* VirtualCluster::_hspcr
protected
QLabel* VirtualCluster::_label
protected
XDataWidgetMapper* VirtualCluster::_mapper
protected
QLabel* VirtualCluster::_name
protected
VirtualClusterLineEdit* VirtualCluster::_number
protected
Qt::Orientation VirtualCluster::_orientation
protected
bool VirtualCluster::_readOnly
protected

Property Documentation

QString VirtualCluster::defaultNumber
readwrite
bool VirtualCluster::descriptionVisible
readwrite
QString VirtualCluster::fieldName
readwrite
QString VirtualCluster::label
readwrite
bool VirtualCluster::nameVisible
readwrite
QString VirtualCluster::nullStr
readwrite
QString VirtualCluster::number
readwrite
Qt::Orientation VirtualCluster::orientation
readwrite
bool VirtualCluster::readOnly
readwrite

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

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