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

#include <usernamecluster.h>

Inheritance diagram for UsernameCluster:
VirtualCluster QWidget ScriptableWidget

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 pId, 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)
 
void setUsername (const QString &pUsername)
 
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

 UsernameCluster (QWidget *, const char *=0)
 
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
 
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 ()
 
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)
 
virtual Q_INVOKABLE bool setScriptableParams (ParameterList &)
 
Q_INVOKABLE void setType (UsernameLineEdit::Type pType)
 
Q_INVOKABLE UsernameLineEdit::Type type () const
 
const Q_INVOKABLE QString username () 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
 
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
 

Property Documentation

◆ defaultNumber

QString VirtualCluster::defaultNumber
readwriteinherited

◆ descriptionVisible

bool VirtualCluster::descriptionVisible
readwriteinherited

◆ fieldName

QString VirtualCluster::fieldName
readwriteinherited

◆ label

QString UsernameCluster::label
readwrite

◆ 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

◆ UsernameCluster()

UsernameCluster::UsernameCluster ( QWidget parent,
const char *  name = 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

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

◆ 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

◆ 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 UsernameCluster::setId ( const int  pId,
const QString &  = QString::null 
)
inlineslot

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

◆ 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

◆ setType()

Q_INVOKABLE void UsernameCluster::setType ( UsernameLineEdit::Type  pType)
inline

◆ setUsername

void UsernameCluster::setUsername ( const QString &  pUsername)
slot

◆ 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 VirtualCluster::sRefresh ( )
virtualslotinherited

◆ sSearch

void VirtualCluster::sSearch ( )
virtualslotinherited

Reimplemented in AddressCluster.

◆ type()

Q_INVOKABLE UsernameLineEdit::Type UsernameCluster::type ( ) const
inline

◆ updateMapperData

void VirtualCluster::updateMapperData ( )
virtualslotinherited

◆ username()

const Q_INVOKABLE QString UsernameCluster::username ( ) const
inline

◆ 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