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

#include <ordercluster.h>

Inheritance diagram for OrderCluster:
VirtualCluster QWidget ScriptableWidget

Properties

OrderLineEdit::OrderStatuses allowedStatuses
 
OrderLineEdit::OrderTypes allowedTypes
 
QString defaultNumber
 
bool descriptionVisible
 
QString fieldName
 
QString label
 
bool nameVisible
 
QString nullStr
 
QString number
 
Qt::Orientation orientation
 
bool readOnly
 

Public Slots

virtual void clear ()
 
virtual void clearExtraClause ()
 
virtual void sEllipses ()
 
virtual void setAllowedStatuses (const int)
 
virtual void setAllowedStatuses (const OrderLineEdit::OrderStatuses)
 
virtual void setAllowedType (const QString &)
 
virtual void setAllowedTypes (const int)
 
virtual void setAllowedTypes (const OrderLineEdit::OrderTypes)
 
virtual void setCustId (int)
 
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 setFieldName (QString p)
 
virtual void setFromSitePrivsEnforced (const bool p)
 
virtual void setId (const int, const QString &=QString::null)
 
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 setReadOnly (const bool b)
 
virtual void setShowInactive (const bool)
 
virtual void setStrict (const bool b)
 
virtual void setToSitePrivsEnforced (const bool p)
 
virtual void sInfo ()
 
virtual void sList ()
 
virtual void sRefresh ()
 
virtual void sSearch ()
 
virtual void updateMapperData ()
 

Signals

void newId (const int, const QString &)
 
void newId (int)
 
void numberChanged (const QString &, const QString &)
 
void valid (bool)
 

Public Member Functions

 OrderCluster (QWidget *, const char *=0)
 
virtual Q_INVOKABLE OrderLineEdit::OrderStatuses allowedStatuses () const
 
virtual Q_INVOKABLE OrderLineEdit::OrderTypes allowedTypes () const
 
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
 
virtual Q_INVOKABLE QString from () const
 
virtual Q_INVOKABLE bool fromSitePrivsEnforced () const
 
virtual Q_INVOKABLE int id () const
 
virtual Q_INVOKABLE bool isClosed () const
 
virtual Q_INVOKABLE bool isOpen () const
 
virtual Q_INVOKABLE bool isPO () const
 
virtual Q_INVOKABLE bool isRA () const
 
virtual Q_INVOKABLE bool isSO () const
 
virtual Q_INVOKABLE bool isStrict () const
 
virtual Q_INVOKABLE bool isTO () const
 
virtual Q_INVOKABLE bool isUnposted () const
 
virtual Q_INVOKABLE bool isValid () const
 
virtual QString label () const
 
virtual void loadScript (const QString &oName)
 
virtual void loadScript (const QStringList &list)
 
virtual void loadScriptEngine ()
 
virtual Q_INVOKABLE bool lockSelected ()
 
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 setExtraClause (const OrderLineEdit::OrderTypes, const QString &)
 
virtual Q_INVOKABLE void setExtraClause (const QString &, const QString &)
 
virtual Q_INVOKABLE void setLockSelected (bool lock)
 
virtual void setNameVisible (const bool p)
 
virtual void setNullStr (const QString &text)
 
virtual void setOrientation (Qt::Orientation orientation)
 
virtual Q_INVOKABLE bool setScriptableParams (ParameterList &)
 
virtual Q_INVOKABLE OrderLineEdit::OrderStatus status () const
 
virtual Q_INVOKABLE QString to () const
 
virtual Q_INVOKABLE bool toSitePrivsEnforced () const
 
virtual Q_INVOKABLE QString type () const
 

Static Public Attributes

static GuiClientInterface_guiClientInterface
 

Protected Member Functions

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

Protected Attributes

QScriptEngineDebugger * _debugger
 
QString _default
 
QLabel_description
 
bool _descripVisible
 
QScriptEngine * _engine
 
QString _fieldName
 
QLabel_from
 
QLabel_fromLit
 
QGridLayout * _grid
 
QSpacerItem * _hspcr
 
QLabel_label
 
XDataWidgetMapper_mapper
 
QLabel_name
 
bool _nameVisible
 
VirtualClusterLineEdit_number
 
Qt::Orientation _orientation
 
bool _readOnly
 
bool _scriptLoaded
 
QWidget_self
 
QLabel_to
 
QLabel_toLit
 

Static Protected Attributes

static ScriptCache_cache
 

Property Documentation

◆ allowedStatuses

OrderLineEdit::OrderStatuses OrderCluster::allowedStatuses
readwrite

◆ allowedTypes

OrderLineEdit::OrderTypes OrderCluster::allowedTypes
readwrite

◆ defaultNumber

QString VirtualCluster::defaultNumber
readwriteinherited

◆ descriptionVisible

bool OrderCluster::descriptionVisible
readwrite

◆ fieldName

QString VirtualCluster::fieldName
readwriteinherited

◆ label

QString VirtualCluster::label
readwriteinherited

◆ nameVisible

bool OrderCluster::nameVisible
readwrite

◆ nullStr

QString VirtualCluster::nullStr
readwriteinherited

◆ number

QString VirtualCluster::number
readwriteinherited

◆ orientation

Qt::Orientation VirtualCluster::orientation
readwriteinherited

◆ readOnly

bool VirtualCluster::readOnly
readwriteinherited

Constructor & Destructor Documentation

◆ OrderCluster()

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

Member Function Documentation

◆ addNumberWidget()

void VirtualCluster::addNumberWidget ( VirtualClusterLineEdit pNumberWidget)
protectedvirtualinherited

Reimplemented in ItemCluster, and ContactCluster.

◆ allowedStatuses()

virtual Q_INVOKABLE OrderLineEdit::OrderStatuses OrderCluster::allowedStatuses ( ) const
virtual

◆ allowedTypes()

virtual Q_INVOKABLE OrderLineEdit::OrderTypes OrderCluster::allowedTypes ( ) const
virtual

◆ clear

void VirtualCluster::clear ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ clearExtraClause

void VirtualCluster::clearExtraClause ( )
virtualslotinherited

◆ defaultNumber()

virtual QString VirtualCluster::defaultNumber ( ) const
virtualinherited

◆ description()

QString VirtualCluster::description ( ) const
virtualinherited

Reimplemented in ContactWidget, and AddressCluster.

◆ descriptionVisible()

virtual bool OrderCluster::descriptionVisible ( ) const
virtual

Reimplemented from VirtualCluster.

◆ engine()

QScriptEngine * ScriptableWidget::engine ( )
virtualinherited

Reimplemented in ScriptablePrivate.

◆ extraClause()

QString VirtualCluster::extraClause ( ) const
virtualinherited

◆ fieldName()

virtual QString VirtualCluster::fieldName ( ) const
virtualinherited

◆ from()

QString OrderCluster::from ( ) const
virtual

◆ fromSitePrivsEnforced()

bool OrderCluster::fromSitePrivsEnforced ( ) const
virtual

◆ id()

int VirtualCluster::id ( ) const
virtualinherited

Reimplemented in ContactWidget, and AddressCluster.

◆ isClosed()

bool OrderCluster::isClosed ( ) const
virtual

◆ isOpen()

bool OrderCluster::isOpen ( ) const
virtual

◆ isPO()

bool OrderCluster::isPO ( ) const
virtual

◆ isRA()

bool OrderCluster::isRA ( ) const
virtual

◆ isSO()

bool OrderCluster::isSO ( ) const
virtual

◆ isStrict()

bool VirtualCluster::isStrict ( ) const
virtualinherited

◆ isTO()

bool OrderCluster::isTO ( ) const
virtual

◆ isUnposted()

bool OrderCluster::isUnposted ( ) const
virtual

◆ isValid()

bool VirtualCluster::isValid ( ) const
virtualinherited

Reimplemented in ContactWidget, and AddressCluster.

◆ 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

◆ lockSelected()

bool OrderCluster::lockSelected ( )
virtual

◆ name()

QString VirtualCluster::name ( ) const
virtualinherited

Reimplemented in ContactWidget, and ContactCluster.

◆ nameVisible()

virtual bool OrderCluster::nameVisible ( ) const
virtual

Reimplemented from VirtualCluster.

◆ newId [1/2]

void OrderCluster::newId ( const int  ,
const QString &   
)
signal

◆ newId [2/2]

void VirtualCluster::newId ( int  )
signalinherited

◆ nullStr()

virtual QString VirtualCluster::nullStr ( ) const
virtualinherited

◆ number()

virtual QString VirtualCluster::number ( ) const
virtualinherited

Reimplemented in ContactWidget, and AddressCluster.

◆ numberChanged

void OrderCluster::numberChanged ( const QString &  ,
const QString &   
)
signal

◆ orientation()

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

◆ readOnly()

virtual bool VirtualCluster::readOnly ( ) const
virtualinherited

◆ sEllipses

void VirtualCluster::sEllipses ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ setAllowedStatuses [1/2]

void OrderCluster::setAllowedStatuses ( const int  p)
virtualslot

◆ setAllowedStatuses [2/2]

void OrderCluster::setAllowedStatuses ( const OrderLineEdit::OrderStatuses  p)
virtualslot

◆ setAllowedType

void OrderCluster::setAllowedType ( const QString &  p)
virtualslot

◆ setAllowedTypes [1/2]

void OrderCluster::setAllowedTypes ( const int  p)
virtualslot

◆ setAllowedTypes [2/2]

void OrderCluster::setAllowedTypes ( const OrderLineEdit::OrderTypes  p)
virtualslot

◆ setCustId

void OrderCluster::setCustId ( int  p)
virtualslot

◆ setDataWidgetMap

void VirtualCluster::setDataWidgetMap ( XDataWidgetMapper m)
virtualslotinherited

Reimplemented in AddressCluster.

◆ setDefaultNumber

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

◆ setDescription

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

Reimplemented in AddressCluster.

◆ setDescriptionVisible()

void OrderCluster::setDescriptionVisible ( const bool  p)
virtual

Reimplemented from VirtualCluster.

◆ setEnabled

void VirtualCluster::setEnabled ( const bool  p)
virtualslotinherited

◆ setExtraClause() [1/2]

void OrderCluster::setExtraClause ( const OrderLineEdit::OrderTypes  pTypes,
const QString &  pClause 
)
virtual

◆ setExtraClause() [2/2]

void OrderCluster::setExtraClause ( const QString &  pType,
const QString &  pClause 
)
virtual

Reimplemented from VirtualCluster.

◆ setFieldName

void VirtualCluster::setFieldName ( QString  p)
virtualslotinherited

◆ setFromSitePrivsEnforced

void OrderCluster::setFromSitePrivsEnforced ( const bool  p)
virtualslot

◆ setId

void OrderCluster::setId ( const int  pId,
const QString &  pType = QString::null 
)
virtualslot

◆ setLabel

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

Reimplemented in AddressCluster.

◆ setLockSelected()

void OrderCluster::setLockSelected ( bool  lock)
virtual

◆ setName

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

Reimplemented in ContactCluster.

◆ setNameVisible()

void OrderCluster::setNameVisible ( const bool  p)
virtual

Reimplemented from VirtualCluster.

◆ 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 VirtualCluster::setOrientation ( Qt::Orientation  orientation)
virtualinherited

Reimplemented in ItemCluster.

◆ setReadOnly

void VirtualCluster::setReadOnly ( const bool  b)
virtualslotinherited

Reimplemented in ItemCluster.

◆ setScriptableParams()

bool ScriptableWidget::setScriptableParams ( ParameterList &  params)
virtualinherited

◆ setShowInactive

void VirtualCluster::setShowInactive ( const bool  b)
virtualslotinherited

◆ setStrict

void VirtualCluster::setStrict ( const bool  b)
virtualslotinherited

◆ setToSitePrivsEnforced

void OrderCluster::setToSitePrivsEnforced ( const bool  p)
virtualslot

◆ 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 OrderCluster::sRefresh ( )
virtualslot

◆ sSearch

void VirtualCluster::sSearch ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ status()

OrderLineEdit::OrderStatus OrderCluster::status ( ) const
virtual

◆ to()

QString OrderCluster::to ( ) const
virtual

◆ toSitePrivsEnforced()

bool OrderCluster::toSitePrivsEnforced ( ) const
virtual

◆ type()

QString OrderCluster::type ( ) const
virtual

◆ updateMapperData

void VirtualCluster::updateMapperData ( )
virtualslotinherited

◆ valid

void VirtualCluster::valid ( bool  )
signalinherited

Member Data Documentation

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _default

QString VirtualCluster::_default
protectedinherited

◆ _description

QLabel* VirtualCluster::_description
protectedinherited

◆ _descripVisible

bool OrderCluster::_descripVisible
protected

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _fieldName

QString VirtualCluster::_fieldName
protectedinherited

◆ _from

QLabel* OrderCluster::_from
protected

◆ _fromLit

QLabel* OrderCluster::_fromLit
protected

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

◆ _nameVisible

bool OrderCluster::_nameVisible
protected

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

◆ _to

QLabel* OrderCluster::_to
protected

◆ _toLit

QLabel* OrderCluster::_toLit
protected

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

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