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

#include <applyDiscount.h>

Inheritance diagram for applyDiscount:
XDialog Ui::applyDiscount QDialog ScriptablePrivate Ui_applyDiscount ScriptableWidget

Public Slots

int exec ()
 
virtual void sApply ()
 
virtual SetResponse set (const ParameterList &pParams)
 
virtual void setRememberPos (bool)
 
virtual void setRememberSize (bool)
 
virtual void sViewVoucher ()
 

Public Member Functions

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

Public Attributes

CurrCluster_amount
 
CurrDisplay_applieddiscounts
 
QLabel_applieddiscountsLit
 
QDialogButtonBox * _buttonBox
 
DLineEdit_discdate
 
QLabel_discdateLit
 
CurrDisplay_discountableOwed
 
QLabel_discountableOwedLit
 
XLabel_discprcnt
 
QLabel_discprcntLit
 
DLineEdit_docdate
 
QLabel_docdateLit
 
QLabel_docnum
 
QLabel_docnumLit
 
QLabel_doctype
 
QLabel_doctypeLit
 
CurrDisplay_owed
 
QLabel_owedLit
 
QLabel_targetAmountLit
 
QLabel_terms
 
QLabel_termsLit
 
QLabel_vend
 
QLabel_vendLit
 
QGridLayout * gridLayout
 

Protected Slots

virtual void languageChange ()
 
virtual void populate ()
 
virtual enum SetResponse postSet ()
 
virtual void saveSize ()
 

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

int _apopenid
 
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

◆ applyDiscount()

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

◆ ~applyDiscount()

applyDiscount::~applyDiscount ( )

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.

◆ languageChange

void applyDiscount::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

◆ populate

void applyDiscount::populate ( )
protectedvirtualslot

◆ postSet

enum SetResponse XDialog::postSet ( )
protectedvirtualslotinherited

◆ retranslateUi()

void Ui_applyDiscount::retranslateUi ( QDialog applyDiscount)
inlineinherited

◆ sApply

void applyDiscount::sApply ( )
virtualslot

◆ saveSize

void XDialog::saveSize ( )
protectedvirtualslotinherited

◆ set

enum SetResponse applyDiscount::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_applyDiscount::setupUi ( QDialog applyDiscount)
inlineinherited

◆ showEvent()

void XDialog::showEvent ( QShowEvent *  event)
protectedvirtualinherited

Reimplemented in externalShipping.

◆ sViewVoucher

void applyDiscount::sViewVoucher ( )
virtualslot

Member Data Documentation

◆ _amount

CurrCluster* Ui_applyDiscount::_amount
inherited

◆ _apopenid

int applyDiscount::_apopenid
protected

◆ _applieddiscounts

CurrDisplay* Ui_applyDiscount::_applieddiscounts
inherited

◆ _applieddiscountsLit

QLabel* Ui_applyDiscount::_applieddiscountsLit
inherited

◆ _buttonBox

QDialogButtonBox* Ui_applyDiscount::_buttonBox
inherited

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _discdate

DLineEdit* Ui_applyDiscount::_discdate
inherited

◆ _discdateLit

QLabel* Ui_applyDiscount::_discdateLit
inherited

◆ _discountableOwed

CurrDisplay* Ui_applyDiscount::_discountableOwed
inherited

◆ _discountableOwedLit

QLabel* Ui_applyDiscount::_discountableOwedLit
inherited

◆ _discprcnt

XLabel* Ui_applyDiscount::_discprcnt
inherited

◆ _discprcntLit

QLabel* Ui_applyDiscount::_discprcntLit
inherited

◆ _docdate

DLineEdit* Ui_applyDiscount::_docdate
inherited

◆ _docdateLit

QLabel* Ui_applyDiscount::_docdateLit
inherited

◆ _docnum

QLabel* Ui_applyDiscount::_docnum
inherited

◆ _docnumLit

QLabel* Ui_applyDiscount::_docnumLit
inherited

◆ _doctype

QLabel* Ui_applyDiscount::_doctype
inherited

◆ _doctypeLit

QLabel* Ui_applyDiscount::_doctypeLit
inherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _owed

CurrDisplay* Ui_applyDiscount::_owed
inherited

◆ _owedLit

QLabel* Ui_applyDiscount::_owedLit
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

◆ _targetAmountLit

QLabel* Ui_applyDiscount::_targetAmountLit
inherited

◆ _terms

QLabel* Ui_applyDiscount::_terms
inherited

◆ _termsLit

QLabel* Ui_applyDiscount::_termsLit
inherited

◆ _vend

QLabel* Ui_applyDiscount::_vend
inherited

◆ _vendLit

QLabel* Ui_applyDiscount::_vendLit
inherited

◆ gridLayout

QGridLayout* Ui_applyDiscount::gridLayout
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