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

#include <voucherItem.h>

Inheritance diagram for voucherItem:
XDialog Ui::voucherItem QDialog ScriptablePrivate Ui_voucherItem ScriptableWidget

Public Slots

int exec ()
 
virtual void reject ()
 
virtual void rollback ()
 
virtual void sCalculateTax ()
 
virtual void sCorrectReceiving ()
 
virtual void sDelete ()
 
virtual void sEdit ()
 
virtual SetResponse set (const ParameterList &pParams)
 
virtual void setRememberPos (bool)
 
virtual void setRememberSize (bool)
 
virtual void sFillList ()
 
virtual void sNew ()
 
virtual void sPopulateMenu (QMenu *pMenu, XTreeWidgetItem *)
 
virtual void sSave ()
 
virtual void sSplitReceipt ()
 
virtual void sTaxDetail ()
 
virtual void sToggleReceiving (QTreeWidgetItem *pItem)
 

Public Member Functions

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

Public Attributes

XLineEdit_amtToVoucher
 
XLabel_amtToVoucherLit
 
QPushButton * _close
 
QCheckBox_closePoitem
 
QPushButton * _delete
 
QWidget_detailTab
 
QWidget_distTab
 
DLineEdit_dueDate
 
XLabel_dueDateLit
 
QPushButton * _edit
 
XLabel_extPrice
 
XLabel_extPriceLit
 
CurrCluster_freightToVoucher
 
XLabel_freightToVoucherLit
 
ItemCluster_item
 
QGroupBox_itemGroup
 
XLabel_lineFreight
 
XLabel_lineFreightLit
 
XLabel_lineNumber
 
XLabel_lineNumberLit
 
QPushButton * _new
 
XLineEdit_ordered
 
XLabel_orderedLit
 
XLabel_poNumber
 
XLabel_poNumberLit
 
QGroupBox_priceGroup
 
XLineEdit_qtyToVoucher
 
XLabel_qtyToVoucherLit
 
QGroupBox_quantityGroup
 
XLineEdit_received
 
XLabel_receivedLit
 
XLineEdit_rejected
 
XLabel_rejectedLit
 
QPushButton * _save
 
QTabWidget * _tab
 
CurrCluster_tax
 
XURLLabel_taxLit
 
XComboBox_taxtype
 
QLabel_taxtypeLit
 
CurrDisplay_totalDistributed
 
XLabel_totalDistributedLit
 
XTreeWidget_uninvoiced
 
QGroupBox_uninvoicedGroup
 
XLineEdit_uninvoicedReceived
 
XLabel_uninvoicedReceivedLit
 
XLineEdit_uninvoicedRejected
 
XLabel_uninvoicedRejectedLit
 
XLabel_unitPrice
 
XLabel_unitPriceLit
 
XTextEdit_vendDescription
 
XLabel_vendItemDescripLit
 
XLabel_vendItemNumber
 
XLabel_vendItemNumberLit
 
XLabel_vendUOM
 
XLabel_vendUOMLit
 
XTreeWidget_vodist
 
QGridLayout * gridLayout
 
QGridLayout * gridLayout1
 
QGridLayout * gridLayout_10
 
QGridLayout * gridLayout_11
 
QGridLayout * gridLayout_12
 
QGridLayout * gridLayout_13
 
QGridLayout * gridLayout_2
 
QGridLayout * gridLayout_3
 
QGridLayout * gridLayout_4
 
QGridLayout * gridLayout_5
 
QGridLayout * gridLayout_6
 
QGridLayout * gridLayout_7
 
QGridLayout * gridLayout_8
 
QGridLayout * gridLayout_9
 
QGroupBoxgroupBox_2
 
QHBoxLayout * hboxLayout
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * hboxLayout2
 
QHBoxLayout * hboxLayout3
 
QHBoxLayout * hboxLayout4
 
QHBoxLayout * hboxLayout5
 
QHBoxLayout * horizontalLayout
 
QHBoxLayout * horizontalLayout_2
 
QHBoxLayout * horizontalLayout_3
 
QSpacerItem * horizontalSpacer
 
QSpacerItem * horizontalSpacer_3
 
QSpacerItem * horizontalSpacer_4
 
QSpacerItem * horizontalSpacer_5
 
QSpacerItem * horizontalSpacer_6
 
QSpacerItem * spacerItem
 
QSpacerItem * spacerItem1
 
QSpacerItem * spacerItem2
 
QSpacerItem * spacerItem3
 
QSpacerItem * spacerItem4
 
QSpacerItem * spacerItem5
 
QSpacerItem * spacerItem6
 
QSpacerItem * spacerItem7
 
QSpacerItem * spacerItem8
 
QSpacerItem * spacerItem9
 
QVBoxLayout * vboxLayout
 
QVBoxLayout * vboxLayout1
 
QVBoxLayout * vboxLayout2
 
QVBoxLayout * vboxLayout3
 
QVBoxLayout * vboxLayout4
 
QVBoxLayout * vboxLayout5
 
QVBoxLayout * vboxLayout6
 
QVBoxLayout * vboxLayout7
 
QVBoxLayout * vboxLayout8
 
QVBoxLayout * verticalLayout
 
QVBoxLayout * verticalLayout_2
 
QVBoxLayout * verticalLayout_3
 
QSpacerItem * verticalSpacer
 

Protected Slots

virtual void languageChange ()
 
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

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

◆ voucherItem()

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

◆ ~voucherItem()

voucherItem::~voucherItem ( )

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 voucherItem::closeEvent ( QCloseEvent *  event)
protectedvirtual

Reimplemented from XDialog.

◆ engine()

QScriptEngine * ScriptablePrivate::engine ( )
virtualinherited

Reimplemented from ScriptableWidget.

◆ exec

int XDialog::exec ( )
slotinherited

◆ get()

ParameterList XDialog::get ( ) const
virtualinherited

Implements ScriptablePrivate.

◆ languageChange

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

◆ postSet

enum SetResponse XDialog::postSet ( )
protectedvirtualslotinherited

◆ reject

void voucherItem::reject ( )
virtualslot

◆ retranslateUi()

void Ui_voucherItem::retranslateUi ( QDialog voucherItem)
inlineinherited

◆ rollback

void voucherItem::rollback ( )
virtualslot

◆ saveSize

void XDialog::saveSize ( )
protectedvirtualslotinherited

◆ sCalculateTax

void voucherItem::sCalculateTax ( )
virtualslot

◆ sCorrectReceiving

void voucherItem::sCorrectReceiving ( )
virtualslot

◆ sDelete

void voucherItem::sDelete ( )
virtualslot

◆ sEdit

void voucherItem::sEdit ( )
virtualslot

◆ set

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

◆ sFillList

void voucherItem::sFillList ( )
virtualslot

◆ showEvent()

void XDialog::showEvent ( QShowEvent *  event)
protectedvirtualinherited

Reimplemented in externalShipping.

◆ sNew

void voucherItem::sNew ( )
virtualslot

◆ sPopulateMenu

void voucherItem::sPopulateMenu ( QMenu *  pMenu,
XTreeWidgetItem selected 
)
virtualslot

◆ sSave

void voucherItem::sSave ( )
virtualslot

◆ sSplitReceipt

void voucherItem::sSplitReceipt ( )
virtualslot

◆ sTaxDetail

void voucherItem::sTaxDetail ( )
virtualslot

◆ sToggleReceiving

void voucherItem::sToggleReceiving ( QTreeWidgetItem pItem)
virtualslot

Member Data Documentation

◆ _amtToVoucher

XLineEdit* Ui_voucherItem::_amtToVoucher
inherited

◆ _amtToVoucherLit

XLabel* Ui_voucherItem::_amtToVoucherLit
inherited

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _close

QPushButton* Ui_voucherItem::_close
inherited

◆ _closePoitem

QCheckBox* Ui_voucherItem::_closePoitem
inherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _delete

QPushButton* Ui_voucherItem::_delete
inherited

◆ _detailTab

QWidget* Ui_voucherItem::_detailTab
inherited

◆ _distTab

QWidget* Ui_voucherItem::_distTab
inherited

◆ _dueDate

DLineEdit* Ui_voucherItem::_dueDate
inherited

◆ _dueDateLit

XLabel* Ui_voucherItem::_dueDateLit
inherited

◆ _edit

QPushButton* Ui_voucherItem::_edit
inherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _extPrice

XLabel* Ui_voucherItem::_extPrice
inherited

◆ _extPriceLit

XLabel* Ui_voucherItem::_extPriceLit
inherited

◆ _freightToVoucher

CurrCluster* Ui_voucherItem::_freightToVoucher
inherited

◆ _freightToVoucherLit

XLabel* Ui_voucherItem::_freightToVoucherLit
inherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _item

ItemCluster* Ui_voucherItem::_item
inherited

◆ _itemGroup

QGroupBox* Ui_voucherItem::_itemGroup
inherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _lineFreight

XLabel* Ui_voucherItem::_lineFreight
inherited

◆ _lineFreightLit

XLabel* Ui_voucherItem::_lineFreightLit
inherited

◆ _lineNumber

XLabel* Ui_voucherItem::_lineNumber
inherited

◆ _lineNumberLit

XLabel* Ui_voucherItem::_lineNumberLit
inherited

◆ _new

QPushButton* Ui_voucherItem::_new
inherited

◆ _ordered

XLineEdit* Ui_voucherItem::_ordered
inherited

◆ _orderedLit

XLabel* Ui_voucherItem::_orderedLit
inherited

◆ _poNumber

XLabel* Ui_voucherItem::_poNumber
inherited

◆ _poNumberLit

XLabel* Ui_voucherItem::_poNumberLit
inherited

◆ _priceGroup

QGroupBox* Ui_voucherItem::_priceGroup
inherited

◆ _qtyToVoucher

XLineEdit* Ui_voucherItem::_qtyToVoucher
inherited

◆ _qtyToVoucherLit

XLabel* Ui_voucherItem::_qtyToVoucherLit
inherited

◆ _quantityGroup

QGroupBox* Ui_voucherItem::_quantityGroup
inherited

◆ _received

XLineEdit* Ui_voucherItem::_received
inherited

◆ _receivedLit

XLabel* Ui_voucherItem::_receivedLit
inherited

◆ _rejected

XLineEdit* Ui_voucherItem::_rejected
inherited

◆ _rejectedLit

XLabel* Ui_voucherItem::_rejectedLit
inherited

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _save

QPushButton* Ui_voucherItem::_save
inherited

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

◆ _showMe

QAction* ScriptablePrivate::_showMe
inherited

◆ _shown

bool ScriptablePrivate::_shown
inherited

◆ _tab

QTabWidget* Ui_voucherItem::_tab
inherited

◆ _tax

CurrCluster* Ui_voucherItem::_tax
inherited

◆ _taxLit

XURLLabel* Ui_voucherItem::_taxLit
inherited

◆ _taxtype

XComboBox* Ui_voucherItem::_taxtype
inherited

◆ _taxtypeLit

QLabel* Ui_voucherItem::_taxtypeLit
inherited

◆ _totalDistributed

CurrDisplay* Ui_voucherItem::_totalDistributed
inherited

◆ _totalDistributedLit

XLabel* Ui_voucherItem::_totalDistributedLit
inherited

◆ _uninvoiced

XTreeWidget* Ui_voucherItem::_uninvoiced
inherited

◆ _uninvoicedGroup

QGroupBox* Ui_voucherItem::_uninvoicedGroup
inherited

◆ _uninvoicedReceived

XLineEdit* Ui_voucherItem::_uninvoicedReceived
inherited

◆ _uninvoicedReceivedLit

XLabel* Ui_voucherItem::_uninvoicedReceivedLit
inherited

◆ _uninvoicedRejected

XLineEdit* Ui_voucherItem::_uninvoicedRejected
inherited

◆ _uninvoicedRejectedLit

XLabel* Ui_voucherItem::_uninvoicedRejectedLit
inherited

◆ _unitPrice

XLabel* Ui_voucherItem::_unitPrice
inherited

◆ _unitPriceLit

XLabel* Ui_voucherItem::_unitPriceLit
inherited

◆ _vendDescription

XTextEdit* Ui_voucherItem::_vendDescription
inherited

◆ _vendItemDescripLit

XLabel* Ui_voucherItem::_vendItemDescripLit
inherited

◆ _vendItemNumber

XLabel* Ui_voucherItem::_vendItemNumber
inherited

◆ _vendItemNumberLit

XLabel* Ui_voucherItem::_vendItemNumberLit
inherited

◆ _vendUOM

XLabel* Ui_voucherItem::_vendUOM
inherited

◆ _vendUOMLit

XLabel* Ui_voucherItem::_vendUOMLit
inherited

◆ _vodist

XTreeWidget* Ui_voucherItem::_vodist
inherited

◆ gridLayout

QGridLayout* Ui_voucherItem::gridLayout
inherited

◆ gridLayout1

QGridLayout* Ui_voucherItem::gridLayout1
inherited

◆ gridLayout_10

QGridLayout* Ui_voucherItem::gridLayout_10
inherited

◆ gridLayout_11

QGridLayout* Ui_voucherItem::gridLayout_11
inherited

◆ gridLayout_12

QGridLayout* Ui_voucherItem::gridLayout_12
inherited

◆ gridLayout_13

QGridLayout* Ui_voucherItem::gridLayout_13
inherited

◆ gridLayout_2

QGridLayout* Ui_voucherItem::gridLayout_2
inherited

◆ gridLayout_3

QGridLayout* Ui_voucherItem::gridLayout_3
inherited

◆ gridLayout_4

QGridLayout* Ui_voucherItem::gridLayout_4
inherited

◆ gridLayout_5

QGridLayout* Ui_voucherItem::gridLayout_5
inherited

◆ gridLayout_6

QGridLayout* Ui_voucherItem::gridLayout_6
inherited

◆ gridLayout_7

QGridLayout* Ui_voucherItem::gridLayout_7
inherited

◆ gridLayout_8

QGridLayout* Ui_voucherItem::gridLayout_8
inherited

◆ gridLayout_9

QGridLayout* Ui_voucherItem::gridLayout_9
inherited

◆ groupBox_2

QGroupBox* Ui_voucherItem::groupBox_2
inherited

◆ hboxLayout

QHBoxLayout* Ui_voucherItem::hboxLayout
inherited

◆ hboxLayout1

QHBoxLayout* Ui_voucherItem::hboxLayout1
inherited

◆ hboxLayout2

QHBoxLayout* Ui_voucherItem::hboxLayout2
inherited

◆ hboxLayout3

QHBoxLayout* Ui_voucherItem::hboxLayout3
inherited

◆ hboxLayout4

QHBoxLayout* Ui_voucherItem::hboxLayout4
inherited

◆ hboxLayout5

QHBoxLayout* Ui_voucherItem::hboxLayout5
inherited

◆ horizontalLayout

QHBoxLayout* Ui_voucherItem::horizontalLayout
inherited

◆ horizontalLayout_2

QHBoxLayout* Ui_voucherItem::horizontalLayout_2
inherited

◆ horizontalLayout_3

QHBoxLayout* Ui_voucherItem::horizontalLayout_3
inherited

◆ horizontalSpacer

QSpacerItem* Ui_voucherItem::horizontalSpacer
inherited

◆ horizontalSpacer_3

QSpacerItem* Ui_voucherItem::horizontalSpacer_3
inherited

◆ horizontalSpacer_4

QSpacerItem* Ui_voucherItem::horizontalSpacer_4
inherited

◆ horizontalSpacer_5

QSpacerItem* Ui_voucherItem::horizontalSpacer_5
inherited

◆ horizontalSpacer_6

QSpacerItem* Ui_voucherItem::horizontalSpacer_6
inherited

◆ spacerItem

QSpacerItem* Ui_voucherItem::spacerItem
inherited

◆ spacerItem1

QSpacerItem* Ui_voucherItem::spacerItem1
inherited

◆ spacerItem2

QSpacerItem* Ui_voucherItem::spacerItem2
inherited

◆ spacerItem3

QSpacerItem* Ui_voucherItem::spacerItem3
inherited

◆ spacerItem4

QSpacerItem* Ui_voucherItem::spacerItem4
inherited

◆ spacerItem5

QSpacerItem* Ui_voucherItem::spacerItem5
inherited

◆ spacerItem6

QSpacerItem* Ui_voucherItem::spacerItem6
inherited

◆ spacerItem7

QSpacerItem* Ui_voucherItem::spacerItem7
inherited

◆ spacerItem8

QSpacerItem* Ui_voucherItem::spacerItem8
inherited

◆ spacerItem9

QSpacerItem* Ui_voucherItem::spacerItem9
inherited

◆ vboxLayout

QVBoxLayout* Ui_voucherItem::vboxLayout
inherited

◆ vboxLayout1

QVBoxLayout* Ui_voucherItem::vboxLayout1
inherited

◆ vboxLayout2

QVBoxLayout* Ui_voucherItem::vboxLayout2
inherited

◆ vboxLayout3

QVBoxLayout* Ui_voucherItem::vboxLayout3
inherited

◆ vboxLayout4

QVBoxLayout* Ui_voucherItem::vboxLayout4
inherited

◆ vboxLayout5

QVBoxLayout* Ui_voucherItem::vboxLayout5
inherited

◆ vboxLayout6

QVBoxLayout* Ui_voucherItem::vboxLayout6
inherited

◆ vboxLayout7

QVBoxLayout* Ui_voucherItem::vboxLayout7
inherited

◆ vboxLayout8

QVBoxLayout* Ui_voucherItem::vboxLayout8
inherited

◆ verticalLayout

QVBoxLayout* Ui_voucherItem::verticalLayout
inherited

◆ verticalLayout_2

QVBoxLayout* Ui_voucherItem::verticalLayout_2
inherited

◆ verticalLayout_3

QVBoxLayout* Ui_voucherItem::verticalLayout_3
inherited

◆ verticalSpacer

QSpacerItem* Ui_voucherItem::verticalSpacer
inherited

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

Generated on Mon May 3 2021 xTuple ERP Programmer Reference, Version 4.12.0 doxygen 1.8.17