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

#include <creditMemoItem.h>

Inheritance diagram for creditMemoItem:
XDialog Ui::creditMemoItem QDialog ScriptablePrivate Ui_creditMemoItem ScriptableWidget

Public Slots

int exec ()
 
virtual void populate ()
 
virtual void sCalculateDiscountPrcnt ()
 
virtual void sCalculateFromDiscount ()
 
virtual void sCalculateTax ()
 
virtual SetResponse set (const ParameterList &pParams)
 
virtual void setRememberPos (bool)
 
virtual void setRememberSize (bool)
 
virtual void sHandleSelection ()
 
virtual void sListPrices ()
 
virtual void sPopulateItemInfo ()
 
virtual void sPopulateItemsiteInfo ()
 
virtual void sPopulateUOM ()
 
virtual void sPriceGroup ()
 
virtual void sPriceUOMChanged ()
 
virtual void sQtyUOMChanged ()
 
virtual void sTaxDetail ()
 

Signals

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

Public Member Functions

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

Public Attributes

QPushButton * _close
 
XTextEdit_comments
 
QGroupBox_costsGroup
 
XLabel_descripLit
 
QWidget_detailTab
 
XLabel_discountFromList
 
XLabel_discountFromListPrcntLit
 
XLineEdit_discountFromSale
 
QLabel_discountFromSalePrcntLit
 
CurrCluster_extendedPrice
 
QLabel_extendedPriceLit
 
QGroupBox_inventoryGroup
 
ItemCluster_item
 
XTextEdit_itemDescrip
 
QGroupBox_itemGroup
 
XLineEdit_itemNumber
 
XLabel_itemNumberLit
 
QRadioButton * _itemSelected
 
QGroupBox_itemTypeGroup
 
QLabel_lineNumber
 
QLabel_lineNumberLit
 
CurrDisplay_listPrice
 
QLabel_listPriceLit
 
QPushButton * _listPrices
 
QGroupBox_miscGroup
 
QRadioButton * _miscSelected
 
CurrCluster_netUnitPrice
 
QLabel_netUnitPriceLit
 
QWidget_notesTab
 
QLabel_orderNumber
 
QLabel_orderNumberLit
 
QGroupBox_priceGroup
 
XComboBox_pricingUOM
 
QLabel_pricingUOMLit
 
XLineEdit_qtyReturned
 
QLabel_qtyReturnedLit
 
XLabel_qtyShipped
 
XLineEdit_qtyToCredit
 
QLabel_qtyToCreditLit
 
XComboBox_qtyUOM
 
QLabel_qtyUOMLit
 
GLCluster_revAccnt
 
XLabel_revAccntLit
 
XComboBox_rsnCode
 
QLabel_rsnCodeLit
 
QGroupBox_rsnGroup
 
CurrDisplay_salePrice
 
QLabel_salePriceLit
 
XComboBox_salescat
 
XLabel_salescatLit
 
QPushButton * _save
 
QLabel_shippedToDateLit
 
CurrCluster_tax
 
TaxExemptCluster_taxExempt
 
QLabel_taxExemptLit
 
QGroupBox_taxGroup
 
XURLLabel_taxLit
 
XComboBox_taxType
 
QLabel_taxTypeLit
 
CurrDisplay_unitCost
 
QLabel_unitCostLit
 
QCheckBox_updateInv
 
WComboBox_warehouse
 
QLabel_warehouseLit
 
QGridLayout * gridLayout
 
QGridLayout * gridLayout_1
 
QGridLayout * gridLayout_2
 
QGridLayout * gridLayout_3
 
QGridLayout * gridLayout_4
 
QGridLayout * gridLayout_5
 
QGridLayout * gridLayout_6
 
QGridLayout * gridLayout_7
 
QGridLayout * gridLayout_8
 
QGridLayout * gridLayout_9
 
QGridLayout * gridLayout_a
 
QGridLayout * gridLayout_b
 
QGridLayout * gridLayout_c
 
QGridLayout * gridLayout_d
 
QGridLayout * gridLayout_e
 
QHBoxLayout * hboxLayout
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * horizontalLayout
 
QSpacerItem * horizontalSpacer
 
QSpacerItem * horizontalSpacer_2
 
QSpacerItem * horizontalSpacer_3
 
QLabellabel
 
QSpacerItem * spacerItem
 
QSpacerItem * spacerItem1
 
QSpacerItem * spacerItem2
 
QSpacerItem * spacerItem3
 
QSpacerItem * spacerItem4
 
QSpacerItem * spacerItem5
 
QSpacerItem * spacerItem6
 
QTabWidget * tabWidget
 
QVBoxLayout * vboxLayout
 
QVBoxLayout * verticalLayout
 
QVBoxLayout * verticalLayout_2
 
QVBoxLayout * verticalLayout_3
 
QVBoxLayout * verticalLayout_4
 
QSpacerItem * verticalSpacer
 
QSpacerItem * verticalSpacer_2
 
QSpacerItem * verticalSpacer_3
 
QSpacerItem * verticalSpacer_4
 

Protected Slots

virtual void languageChange ()
 
virtual enum SetResponse postSet ()
 
virtual void saveSize ()
 
virtual void sCalculateExtendedPrice ()
 
virtual void sSave ()
 

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

◆ creditMemoItem()

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

◆ ~creditMemoItem()

creditMemoItem::~creditMemoItem ( )

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 creditMemoItem::id ( ) const
virtual

◆ languageChange

void creditMemoItem::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 creditMemoItem::mode ( ) const
virtual

◆ newId

void creditMemoItem::newId ( int  )
signal

◆ newMode

void creditMemoItem::newMode ( int  )
signal

◆ populate

void creditMemoItem::populate ( )
virtualslot

◆ populated

void creditMemoItem::populated ( )
signal

◆ postSet

enum SetResponse XDialog::postSet ( )
protectedvirtualslotinherited

◆ retranslateUi()

void Ui_creditMemoItem::retranslateUi ( QDialog creditMemoItem)
inlineinherited

◆ saveSize

void XDialog::saveSize ( )
protectedvirtualslotinherited

◆ sCalculateDiscountPrcnt

void creditMemoItem::sCalculateDiscountPrcnt ( )
virtualslot

◆ sCalculateExtendedPrice

void creditMemoItem::sCalculateExtendedPrice ( )
protectedvirtualslot

◆ sCalculateFromDiscount

void creditMemoItem::sCalculateFromDiscount ( )
virtualslot

◆ sCalculateTax

void creditMemoItem::sCalculateTax ( )
virtualslot

◆ set

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

◆ sHandleSelection

void creditMemoItem::sHandleSelection ( )
virtualslot

◆ showEvent()

void XDialog::showEvent ( QShowEvent *  event)
protectedvirtualinherited

Reimplemented in externalShipping.

◆ sListPrices

void creditMemoItem::sListPrices ( )
virtualslot

◆ sPopulateItemInfo

void creditMemoItem::sPopulateItemInfo ( )
virtualslot

◆ sPopulateItemsiteInfo

void creditMemoItem::sPopulateItemsiteInfo ( )
virtualslot

◆ sPopulateUOM

void creditMemoItem::sPopulateUOM ( )
virtualslot

◆ sPriceGroup

void creditMemoItem::sPriceGroup ( )
virtualslot

◆ sPriceUOMChanged

void creditMemoItem::sPriceUOMChanged ( )
virtualslot

◆ sQtyUOMChanged

void creditMemoItem::sQtyUOMChanged ( )
virtualslot

◆ sSave

void creditMemoItem::sSave ( )
protectedvirtualslot

◆ sTaxDetail

void creditMemoItem::sTaxDetail ( )
virtualslot

Member Data Documentation

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _close

QPushButton* Ui_creditMemoItem::_close
inherited

◆ _comments

XTextEdit* Ui_creditMemoItem::_comments
inherited

◆ _costsGroup

QGroupBox* Ui_creditMemoItem::_costsGroup
inherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _descripLit

XLabel* Ui_creditMemoItem::_descripLit
inherited

◆ _detailTab

QWidget* Ui_creditMemoItem::_detailTab
inherited

◆ _discountFromList

XLabel* Ui_creditMemoItem::_discountFromList
inherited

◆ _discountFromListPrcntLit

XLabel* Ui_creditMemoItem::_discountFromListPrcntLit
inherited

◆ _discountFromSale

XLineEdit* Ui_creditMemoItem::_discountFromSale
inherited

◆ _discountFromSalePrcntLit

QLabel* Ui_creditMemoItem::_discountFromSalePrcntLit
inherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _extendedPrice

CurrCluster* Ui_creditMemoItem::_extendedPrice
inherited

◆ _extendedPriceLit

QLabel* Ui_creditMemoItem::_extendedPriceLit
inherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _inventoryGroup

QGroupBox* Ui_creditMemoItem::_inventoryGroup
inherited

◆ _item

ItemCluster* Ui_creditMemoItem::_item
inherited

◆ _itemDescrip

XTextEdit* Ui_creditMemoItem::_itemDescrip
inherited

◆ _itemGroup

QGroupBox* Ui_creditMemoItem::_itemGroup
inherited

◆ _itemNumber

XLineEdit* Ui_creditMemoItem::_itemNumber
inherited

◆ _itemNumberLit

XLabel* Ui_creditMemoItem::_itemNumberLit
inherited

◆ _itemSelected

QRadioButton* Ui_creditMemoItem::_itemSelected
inherited

◆ _itemTypeGroup

QGroupBox* Ui_creditMemoItem::_itemTypeGroup
inherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _lineNumber

QLabel* Ui_creditMemoItem::_lineNumber
inherited

◆ _lineNumberLit

QLabel* Ui_creditMemoItem::_lineNumberLit
inherited

◆ _listPrice

CurrDisplay* Ui_creditMemoItem::_listPrice
inherited

◆ _listPriceLit

QLabel* Ui_creditMemoItem::_listPriceLit
inherited

◆ _listPrices

QPushButton* Ui_creditMemoItem::_listPrices
inherited

◆ _miscGroup

QGroupBox* Ui_creditMemoItem::_miscGroup
inherited

◆ _miscSelected

QRadioButton* Ui_creditMemoItem::_miscSelected
inherited

◆ _netUnitPrice

CurrCluster* Ui_creditMemoItem::_netUnitPrice
inherited

◆ _netUnitPriceLit

QLabel* Ui_creditMemoItem::_netUnitPriceLit
inherited

◆ _notesTab

QWidget* Ui_creditMemoItem::_notesTab
inherited

◆ _orderNumber

QLabel* Ui_creditMemoItem::_orderNumber
inherited

◆ _orderNumberLit

QLabel* Ui_creditMemoItem::_orderNumberLit
inherited

◆ _priceGroup

QGroupBox* Ui_creditMemoItem::_priceGroup
inherited

◆ _pricingUOM

XComboBox* Ui_creditMemoItem::_pricingUOM
inherited

◆ _pricingUOMLit

QLabel* Ui_creditMemoItem::_pricingUOMLit
inherited

◆ _qtyReturned

XLineEdit* Ui_creditMemoItem::_qtyReturned
inherited

◆ _qtyReturnedLit

QLabel* Ui_creditMemoItem::_qtyReturnedLit
inherited

◆ _qtyShipped

XLabel* Ui_creditMemoItem::_qtyShipped
inherited

◆ _qtyToCredit

XLineEdit* Ui_creditMemoItem::_qtyToCredit
inherited

◆ _qtyToCreditLit

QLabel* Ui_creditMemoItem::_qtyToCreditLit
inherited

◆ _qtyUOM

XComboBox* Ui_creditMemoItem::_qtyUOM
inherited

◆ _qtyUOMLit

QLabel* Ui_creditMemoItem::_qtyUOMLit
inherited

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _revAccnt

GLCluster* Ui_creditMemoItem::_revAccnt
inherited

◆ _revAccntLit

XLabel* Ui_creditMemoItem::_revAccntLit
inherited

◆ _rsnCode

XComboBox* Ui_creditMemoItem::_rsnCode
inherited

◆ _rsnCodeLit

QLabel* Ui_creditMemoItem::_rsnCodeLit
inherited

◆ _rsnGroup

QGroupBox* Ui_creditMemoItem::_rsnGroup
inherited

◆ _salePrice

CurrDisplay* Ui_creditMemoItem::_salePrice
inherited

◆ _salePriceLit

QLabel* Ui_creditMemoItem::_salePriceLit
inherited

◆ _salescat

XComboBox* Ui_creditMemoItem::_salescat
inherited

◆ _salescatLit

XLabel* Ui_creditMemoItem::_salescatLit
inherited

◆ _save

QPushButton* Ui_creditMemoItem::_save
inherited

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

◆ _shippedToDateLit

QLabel* Ui_creditMemoItem::_shippedToDateLit
inherited

◆ _showMe

QAction* ScriptablePrivate::_showMe
inherited

◆ _shown

bool ScriptablePrivate::_shown
inherited

◆ _tax

CurrCluster* Ui_creditMemoItem::_tax
inherited

◆ _taxExempt

TaxExemptCluster* Ui_creditMemoItem::_taxExempt
inherited

◆ _taxExemptLit

QLabel* Ui_creditMemoItem::_taxExemptLit
inherited

◆ _taxGroup

QGroupBox* Ui_creditMemoItem::_taxGroup
inherited

◆ _taxLit

XURLLabel* Ui_creditMemoItem::_taxLit
inherited

◆ _taxType

XComboBox* Ui_creditMemoItem::_taxType
inherited

◆ _taxTypeLit

QLabel* Ui_creditMemoItem::_taxTypeLit
inherited

◆ _unitCost

CurrDisplay* Ui_creditMemoItem::_unitCost
inherited

◆ _unitCostLit

QLabel* Ui_creditMemoItem::_unitCostLit
inherited

◆ _updateInv

QCheckBox* Ui_creditMemoItem::_updateInv
inherited

◆ _warehouse

WComboBox* Ui_creditMemoItem::_warehouse
inherited

◆ _warehouseLit

QLabel* Ui_creditMemoItem::_warehouseLit
inherited

◆ gridLayout

QGridLayout* Ui_creditMemoItem::gridLayout
inherited

◆ gridLayout_1

QGridLayout* Ui_creditMemoItem::gridLayout_1
inherited

◆ gridLayout_2

QGridLayout* Ui_creditMemoItem::gridLayout_2
inherited

◆ gridLayout_3

QGridLayout* Ui_creditMemoItem::gridLayout_3
inherited

◆ gridLayout_4

QGridLayout* Ui_creditMemoItem::gridLayout_4
inherited

◆ gridLayout_5

QGridLayout* Ui_creditMemoItem::gridLayout_5
inherited

◆ gridLayout_6

QGridLayout* Ui_creditMemoItem::gridLayout_6
inherited

◆ gridLayout_7

QGridLayout* Ui_creditMemoItem::gridLayout_7
inherited

◆ gridLayout_8

QGridLayout* Ui_creditMemoItem::gridLayout_8
inherited

◆ gridLayout_9

QGridLayout* Ui_creditMemoItem::gridLayout_9
inherited

◆ gridLayout_a

QGridLayout* Ui_creditMemoItem::gridLayout_a
inherited

◆ gridLayout_b

QGridLayout* Ui_creditMemoItem::gridLayout_b
inherited

◆ gridLayout_c

QGridLayout* Ui_creditMemoItem::gridLayout_c
inherited

◆ gridLayout_d

QGridLayout* Ui_creditMemoItem::gridLayout_d
inherited

◆ gridLayout_e

QGridLayout* Ui_creditMemoItem::gridLayout_e
inherited

◆ hboxLayout

QHBoxLayout* Ui_creditMemoItem::hboxLayout
inherited

◆ hboxLayout1

QHBoxLayout* Ui_creditMemoItem::hboxLayout1
inherited

◆ horizontalLayout

QHBoxLayout* Ui_creditMemoItem::horizontalLayout
inherited

◆ horizontalSpacer

QSpacerItem* Ui_creditMemoItem::horizontalSpacer
inherited

◆ horizontalSpacer_2

QSpacerItem* Ui_creditMemoItem::horizontalSpacer_2
inherited

◆ horizontalSpacer_3

QSpacerItem* Ui_creditMemoItem::horizontalSpacer_3
inherited

◆ label

QLabel* Ui_creditMemoItem::label
inherited

◆ spacerItem

QSpacerItem* Ui_creditMemoItem::spacerItem
inherited

◆ spacerItem1

QSpacerItem* Ui_creditMemoItem::spacerItem1
inherited

◆ spacerItem2

QSpacerItem* Ui_creditMemoItem::spacerItem2
inherited

◆ spacerItem3

QSpacerItem* Ui_creditMemoItem::spacerItem3
inherited

◆ spacerItem4

QSpacerItem* Ui_creditMemoItem::spacerItem4
inherited

◆ spacerItem5

QSpacerItem* Ui_creditMemoItem::spacerItem5
inherited

◆ spacerItem6

QSpacerItem* Ui_creditMemoItem::spacerItem6
inherited

◆ tabWidget

QTabWidget* Ui_creditMemoItem::tabWidget
inherited

◆ vboxLayout

QVBoxLayout* Ui_creditMemoItem::vboxLayout
inherited

◆ verticalLayout

QVBoxLayout* Ui_creditMemoItem::verticalLayout
inherited

◆ verticalLayout_2

QVBoxLayout* Ui_creditMemoItem::verticalLayout_2
inherited

◆ verticalLayout_3

QVBoxLayout* Ui_creditMemoItem::verticalLayout_3
inherited

◆ verticalLayout_4

QVBoxLayout* Ui_creditMemoItem::verticalLayout_4
inherited

◆ verticalSpacer

QSpacerItem* Ui_creditMemoItem::verticalSpacer
inherited

◆ verticalSpacer_2

QSpacerItem* Ui_creditMemoItem::verticalSpacer_2
inherited

◆ verticalSpacer_3

QSpacerItem* Ui_creditMemoItem::verticalSpacer_3
inherited

◆ verticalSpacer_4

QSpacerItem* Ui_creditMemoItem::verticalSpacer_4
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