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

#include <salesRep.h>

Inheritance diagram for salesRep:
XDialog Ui::salesRep QDialog ScriptablePrivate Ui_salesRep ScriptableWidget

Public Slots

int exec ()
 
virtual void reject ()
 
virtual void sCheck ()
 
virtual enum SetResponse set (const ParameterList &pParams)
 
virtual void setRememberPos (bool)
 
virtual void setRememberSize (bool)
 
virtual bool sPopulate ()
 
virtual void sSave ()
 

Signals

void newId (int)
 
void newMode (int)
 
void populated ()
 
void saved (int)
 

Public Member Functions

 salesRep (QWidget *parent=0, const char *name=0, bool modal=false, Qt::WindowFlags fl=0)
 
 ~salesRep ()
 
virtual Q_INVOKABLE ParameterList get () const
 
virtual Q_INVOKABLE int id () const
 
virtual Q_INVOKABLE int mode () const
 
void retranslateUi (QDialog *salesRep)
 
void setupUi (QDialog *salesRep)
 

Public Attributes

QCheckBox_active
 
QDialogButtonBox * _buttonBox
 
XLineEdit_commPrcnt
 
QLabel_commPrcntLit
 
QPushButton * _crmaccountButton
 
XLineEdit_name
 
QLabel_nameLit
 
XLineEdit_number
 
QLabel_numberLit
 
QGridLayout * gridLayout_2
 
QSpacerItem * verticalSpacer
 

Protected Slots

virtual void languageChange ()
 
virtual enum SetResponse postSet ()
 
virtual bool save ()
 
virtual void saveSize ()
 
virtual void sCrmaccount ()
 

Protected Member Functions

virtual void callCloseEvent (QEvent *)
 
virtual enum SetResponse callSet (const ParameterList &)
 
virtual void callShowEvent (QEvent *)
 
virtual void closeEvent (QCloseEvent *event)
 
virtual QScriptEngine * engine ()
 
virtual void loadScript (const QString &oName)
 
virtual void loadScript (const QStringList &list)
 
virtual void loadScriptEngine ()
 
virtual Q_INVOKABLE bool setScriptableParams (ParameterList &)
 
virtual void showEvent (QShowEvent *event)
 

Protected Attributes

QScriptEngineDebugger * _debugger
 
QScriptEngine * _engine
 
ParameterList _lastSetParams
 
QAction_rememberPos
 
QAction_rememberSize
 
bool _scriptLoaded
 
QWidget_self
 
QAction_showMe
 
bool _shown
 

Static Protected Attributes

static ScriptCache_cache
 
static GuiClientInterface_guiClientInterface
 

Constructor & Destructor Documentation

◆ salesRep()

salesRep::salesRep ( QWidget parent = 0,
const char *  name = 0,
bool  modal = false,
Qt::WindowFlags  fl = 0 
)

◆ ~salesRep()

salesRep::~salesRep ( )

Member Function Documentation

◆ callCloseEvent()

void ScriptablePrivate::callCloseEvent ( QEvent *  event)
virtualinherited

◆ callSet()

enum SetResponse ScriptablePrivate::callSet ( const ParameterList &  params)
virtualinherited

◆ callShowEvent()

void ScriptablePrivate::callShowEvent ( QEvent *  event)
virtualinherited

◆ closeEvent()

void XDialog::closeEvent ( QCloseEvent *  event)
protectedvirtualinherited

Reimplemented in voucherItem, contact, and taxAuthority.

◆ engine()

QScriptEngine * ScriptablePrivate::engine ( )
virtualinherited

Reimplemented from ScriptableWidget.

◆ exec

int XDialog::exec ( )
slotinherited

◆ get()

ParameterList XDialog::get ( ) const
virtualinherited

Implements ScriptablePrivate.

◆ id()

int salesRep::id ( ) const
virtual

◆ languageChange

void salesRep::languageChange ( )
protectedvirtualslot

◆ 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

◆ mode()

int salesRep::mode ( ) const
virtual
Returns
one of cNew, cEdit, cView, ...
Todo:
change possible modes to an enum in guiclient.h (and add cUnknown?)

◆ newId

void salesRep::newId ( int  )
signal

◆ newMode

void salesRep::newMode ( int  )
signal

◆ populated

void salesRep::populated ( )
signal

◆ postSet

enum SetResponse XDialog::postSet ( )
protectedvirtualslotinherited

◆ reject

void salesRep::reject ( )
virtualslot

◆ retranslateUi()

void Ui_salesRep::retranslateUi ( QDialog salesRep)
inlineinherited

◆ save

bool salesRep::save ( )
protectedvirtualslot

◆ saved

void salesRep::saved ( int  )
signal

◆ saveSize

void XDialog::saveSize ( )
protectedvirtualslotinherited

◆ sCheck

void salesRep::sCheck ( )
virtualslot

◆ sCrmaccount

void salesRep::sCrmaccount ( )
protectedvirtualslot

◆ set

enum SetResponse salesRep::set ( const ParameterList &  pParams)
virtualslot

◆ setRememberPos

void XDialog::setRememberPos ( bool  b)
virtualslotinherited

◆ setRememberSize

void XDialog::setRememberSize ( bool  b)
virtualslotinherited

◆ setScriptableParams()

bool ScriptableWidget::setScriptableParams ( ParameterList &  params)
virtualinherited

◆ setupUi()

void Ui_salesRep::setupUi ( QDialog salesRep)
inlineinherited

◆ showEvent()

void XDialog::showEvent ( QShowEvent *  event)
protectedvirtualinherited

Reimplemented in externalShipping.

◆ sPopulate

bool salesRep::sPopulate ( )
virtualslot

◆ sSave

void salesRep::sSave ( )
virtualslot

Member Data Documentation

◆ _active

QCheckBox* Ui_salesRep::_active
inherited

◆ _buttonBox

QDialogButtonBox* Ui_salesRep::_buttonBox
inherited

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _commPrcnt

XLineEdit* Ui_salesRep::_commPrcnt
inherited

◆ _commPrcntLit

QLabel* Ui_salesRep::_commPrcntLit
inherited

◆ _crmaccountButton

QPushButton* Ui_salesRep::_crmaccountButton
inherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _name

XLineEdit* Ui_salesRep::_name
inherited

◆ _nameLit

QLabel* Ui_salesRep::_nameLit
inherited

◆ _number

XLineEdit* Ui_salesRep::_number
inherited

◆ _numberLit

QLabel* Ui_salesRep::_numberLit
inherited

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

◆ _showMe

QAction* ScriptablePrivate::_showMe
inherited

◆ _shown

bool ScriptablePrivate::_shown
inherited

◆ gridLayout_2

QGridLayout* Ui_salesRep::gridLayout_2
inherited

◆ verticalSpacer

QSpacerItem* Ui_salesRep::verticalSpacer
inherited

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