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

#include <glcluster.h>

Inheritance diagram for GLCluster:
VirtualCluster QWidget ScriptableWidget

Public Types

enum  Type {
  cUndefined, cAsset, cLiability, cExpense,
  cRevenue, cEquity
}
 

Properties

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 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, const QString &=QString::null)
 
virtual void setFieldName (QString p)
 
void setId (const int p, 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 sInfo ()
 
virtual void sList ()
 
virtual void sRefresh ()
 
virtual void sSearch ()
 
virtual void updateMapperData ()
 

Signals

void newId (int)
 
void valid (bool)
 

Public Member Functions

 GLCluster (QWidget *, const char *=0)
 
Q_INVOKABLE int companyId ()
 
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 int id () const
 
Q_INVOKABLE bool ignoreCompany ()
 
virtual Q_INVOKABLE bool isStrict () 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 QString name () const
 
virtual bool nameVisible () const
 
virtual QString nullStr () const
 
virtual QString number () const
 
virtual Qt::Orientation orientation ()
 
Q_INVOKABLE bool projectVisible ()
 
virtual bool readOnly () const
 
virtual void setDescriptionVisible (const bool p)
 
Q_INVOKABLE void setIgnoreCompany (bool p)
 
virtual void setNameVisible (const bool p)
 
virtual void setNullStr (const QString &text)
 
virtual void setOrientation (Qt::Orientation orientation)
 
Q_INVOKABLE bool setProjectVisible (bool p)
 
virtual Q_INVOKABLE bool setScriptableParams (ParameterList &)
 
Q_INVOKABLE void setShowExternal (bool p)
 
Q_INVOKABLE void setType (unsigned int pType)
 
Q_INVOKABLE bool showExternal ()
 
Q_INVOKABLE unsigned int type () const
 

Static Public Attributes

static GuiClientInterface_guiClientInterface
 

Protected Slots

void sHandleProjectId ()
 
void sHandleProjectState (int p)
 
void sNewId (int p)
 

Protected Member Functions

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

Protected Attributes

QScriptEngineDebugger * _debugger
 
QString _default
 
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
 

Member Enumeration Documentation

◆ Type

Enumerator
cUndefined 
cAsset 
cLiability 
cExpense 
cRevenue 
cEquity 

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

Constructor & Destructor Documentation

◆ GLCluster()

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

Member Function Documentation

◆ addNumberWidget()

void VirtualCluster::addNumberWidget ( VirtualClusterLineEdit pNumberWidget)
protectedvirtualinherited

Reimplemented in ItemCluster, and ContactCluster.

◆ clear

void VirtualCluster::clear ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ clearExtraClause

void VirtualCluster::clearExtraClause ( )
virtualslotinherited

◆ companyId()

Q_INVOKABLE int GLCluster::companyId ( )
inline

◆ defaultNumber()

virtual QString VirtualCluster::defaultNumber ( ) const
virtualinherited

◆ 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

◆ id()

int VirtualCluster::id ( ) const
virtualinherited

Reimplemented in ContactWidget, and AddressCluster.

◆ ignoreCompany()

Q_INVOKABLE bool GLCluster::ignoreCompany ( )
inline

◆ isStrict()

bool VirtualCluster::isStrict ( ) const
virtualinherited

◆ 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

◆ 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

◆ projectVisible()

bool GLCluster::projectVisible ( )

◆ readOnly()

virtual bool VirtualCluster::readOnly ( ) const
virtualinherited

◆ sEllipses

void VirtualCluster::sEllipses ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ 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 VirtualCluster::setDescriptionVisible ( const bool  p)
virtualinherited

Reimplemented in OrderCluster.

◆ 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 GLCluster::setId ( const int  p,
const QString &  = QString::null 
)
slot

◆ setIgnoreCompany()

Q_INVOKABLE void GLCluster::setIgnoreCompany ( bool  p)
inline

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

Reimplemented in ItemCluster.

◆ setProjectVisible()

bool GLCluster::setProjectVisible ( bool  p)

◆ setReadOnly

void VirtualCluster::setReadOnly ( const bool  b)
virtualslotinherited

Reimplemented in ItemCluster.

◆ setScriptableParams()

bool ScriptableWidget::setScriptableParams ( ParameterList &  params)
virtualinherited

◆ setShowExternal()

Q_INVOKABLE void GLCluster::setShowExternal ( bool  p)
inline

◆ setShowInactive

void VirtualCluster::setShowInactive ( const bool  b)
virtualslotinherited

◆ setStrict

void VirtualCluster::setStrict ( const bool  b)
virtualslotinherited

◆ setType()

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

◆ sHandleProjectId

void GLCluster::sHandleProjectId ( )
protectedslot

◆ sHandleProjectState

void GLCluster::sHandleProjectState ( int  p)
protectedslot

◆ showEvent()

void VirtualCluster::showEvent ( QShowEvent *  e)
protectedvirtualinherited

◆ showExternal()

Q_INVOKABLE bool GLCluster::showExternal ( )
inline

◆ sInfo

void VirtualCluster::sInfo ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ sList

void VirtualCluster::sList ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ sNewId

void GLCluster::sNewId ( int  p)
protectedslot

◆ sRefresh

void VirtualCluster::sRefresh ( )
virtualslotinherited

◆ sSearch

void VirtualCluster::sSearch ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ type()

Q_INVOKABLE unsigned int GLCluster::type ( ) const
inline

◆ 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

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