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

#include <invoiceItem.h>

Inheritance diagram for invoiceItem:
XDialog Ui::invoiceItem QDialog ScriptablePrivate Ui_invoiceItem ScriptableWidget

Public Slots

int exec ()
 
virtual void sCalculateExtendedPrice ()
 
virtual void sDeterminePrice ()
 
virtual SetResponse set (const ParameterList &pParams)
 
virtual void setRememberPos (bool)
 
virtual void setRememberSize (bool)
 
virtual void sHandleUpdateInv ()
 
virtual void sListPrices ()
 
virtual void sLookupTax ()
 
virtual void sMiscSelected (bool)
 
virtual void sPopulateItemInfo (int pItemid)
 
virtual void sPopulateUOM ()
 
virtual void sPriceGroup ()
 
virtual void sPriceUOMChanged ()
 
virtual void sQtyUOMChanged ()
 
virtual void sSave ()
 
virtual void sTaxDetail ()
 

Signals

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

Public Member Functions

 invoiceItem (QWidget *=0, const char *=0, Qt::WindowFlags=0)
 
 ~invoiceItem ()
 
virtual Q_INVOKABLE ParameterList get () const
 
virtual Q_INVOKABLE int id () const
 
virtual Q_INVOKABLE int mode () const
 
virtual void populate ()
 
void retranslateUi (QDialog *invoiceItem)
 
void setupUi (QDialog *invoiceItem)
 

Public Attributes

GLCluster_altRevAccnt
 
QLabel_altRevAccntLit
 
XLineEdit_billed
 
QWidget_charTab
 
QPushButton * _close
 
Comments_comments
 
QWidget_commentsTab
 
XLineEdit_custPn
 
QLabel_custPnLit
 
CurrDisplay_custPrice
 
QLabel_custPriceLit
 
QLabel_descripLit
 
QWidget_detailTab
 
CurrCluster_extended
 
QLabel_extendedLit
 
XLabel_invCharLit
 
CharacteristicsWidget_invcharView
 
XLabel_invItemCharLit
 
QLabel_invoiceNumber
 
QLabel_invoiceNumberLit
 
ItemCluster_item
 
QTreeView_itemcharView
 
XTextEdit_itemDescrip
 
QGroupBox_itemGroup
 
XLineEdit_itemNumber
 
QLabel_itemNumberLit
 
QRadioButton * _itemSelected
 
QGroupBox_itemTypeGroup
 
QLabel_lineNumber
 
QLabel_lineNumberLit
 
CurrDisplay_listPrice
 
QLabel_listPriceLit
 
QPushButton * _listPrices
 
QGroupBox_miscGroup
 
QRadioButton * _miscSelected
 
XTextEdit_notes
 
XLineEdit_ordered
 
CurrCluster_price
 
QGroupBox_priceGroup
 
QGroupBox_priceGroup_2
 
QLabel_priceLit
 
XComboBox_pricingUOM
 
QLabel_pricingUOMLit
 
QLabel_qtyBilledLit
 
QGroupBox_qtyGroup
 
QLabel_qtyOrderedLit
 
XComboBox_qtyUOM
 
QLabel_qtyUOMLit
 
XComboBox_salescat
 
QLabel_salescatLit
 
QPushButton * _save
 
QTabWidget * _tab
 
CurrCluster_tax
 
TaxExemptCluster_taxExempt
 
QLabel_taxExemptLit
 
QGroupBox_taxGroup
 
XURLLabel_taxLit
 
XComboBox_taxtype
 
QLabel_taxtypeLit
 
CurrDisplay_unitCost
 
QLabel_unitCostLit
 
QCheckBox_updateInv
 
WComboBox_warehouse
 
QLabel_warehouseLit
 
QVBoxLayout * charVerticalLayout
 
QFrame * frame
 
QGridLayout * gridLayout
 
QGridLayout * gridLayout1
 
QGridLayout * gridLayout10
 
QGridLayout * gridLayout2
 
QGridLayout * gridLayout3
 
QGridLayout * gridLayout4
 
QGridLayout * gridLayout5
 
QGridLayout * gridLayout6
 
QGridLayout * gridLayout7
 
QGridLayout * gridLayout8
 
QGridLayout * gridLayout9
 
QGridLayout * gridLayout_13
 
QGridLayout * gridLayout_2
 
QGridLayout * gridLayout_3
 
QGridLayout * gridLayout_4
 
QGridLayout * gridLayout_5
 
QHBoxLayout * hboxLayout
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * hboxLayout2
 
QHBoxLayout * horizontalLayout
 
QHBoxLayout * horizontalLayout_2
 
QSpacerItem * horizontalSpacer
 
QSpacerItem * horizontalSpacer_2
 
QSpacerItem * horizontalSpacer_3
 
QWidgetnotesTab
 
QSpacerItem * spacerItem
 
QSpacerItem * spacerItem1
 
QSpacerItem * spacerItem2
 
QSpacerItem * spacerItem3
 
QSpacerItem * spacerItem4
 
QSpacerItem * spacerItem5
 
QSpacerItem * spacerItem6
 
QSpacerItem * spacerItem7
 
QVBoxLayout * vboxLayout
 
QVBoxLayout * vboxLayout1
 
QVBoxLayout * vboxLayout2
 
QVBoxLayout * vboxLayout3
 
QVBoxLayout * vboxLayout4
 
QVBoxLayout * verticalLayout
 
QVBoxLayout * verticalLayout_2
 
QSpacerItem * verticalSpacer
 
QSpacerItem * verticalSpacer_2
 

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

◆ invoiceItem()

invoiceItem::invoiceItem ( QWidget parent = 0,
const char *  name = 0,
Qt::WindowFlags  fl = 0 
)

◆ ~invoiceItem()

invoiceItem::~invoiceItem ( )

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

◆ languageChange

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

◆ newId

void invoiceItem::newId ( int  )
signal

◆ newMode

void invoiceItem::newMode ( int  )
signal

◆ populate()

void invoiceItem::populate ( )
virtual

◆ populated

void invoiceItem::populated ( )
signal

◆ postSet

enum SetResponse XDialog::postSet ( )
protectedvirtualslotinherited

◆ retranslateUi()

void Ui_invoiceItem::retranslateUi ( QDialog invoiceItem)
inlineinherited

◆ saved

void invoiceItem::saved ( int  )
signal

◆ saveSize

void XDialog::saveSize ( )
protectedvirtualslotinherited

◆ sCalculateExtendedPrice

void invoiceItem::sCalculateExtendedPrice ( )
virtualslot

◆ sDeterminePrice

void invoiceItem::sDeterminePrice ( )
virtualslot

◆ set

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

◆ sHandleUpdateInv

void invoiceItem::sHandleUpdateInv ( )
virtualslot

◆ showEvent()

void XDialog::showEvent ( QShowEvent *  event)
protectedvirtualinherited

Reimplemented in externalShipping.

◆ sListPrices

void invoiceItem::sListPrices ( )
virtualslot

◆ sLookupTax

void invoiceItem::sLookupTax ( )
virtualslot

◆ sMiscSelected

void invoiceItem::sMiscSelected ( bool  isMisc)
virtualslot

◆ sPopulateItemInfo

void invoiceItem::sPopulateItemInfo ( int  pItemid)
virtualslot

◆ sPopulateUOM

void invoiceItem::sPopulateUOM ( )
virtualslot

◆ sPriceGroup

void invoiceItem::sPriceGroup ( )
virtualslot

◆ sPriceUOMChanged

void invoiceItem::sPriceUOMChanged ( )
virtualslot

◆ sQtyUOMChanged

void invoiceItem::sQtyUOMChanged ( )
virtualslot

◆ sSave

void invoiceItem::sSave ( )
virtualslot

◆ sTaxDetail

void invoiceItem::sTaxDetail ( )
virtualslot

Member Data Documentation

◆ _altRevAccnt

GLCluster* Ui_invoiceItem::_altRevAccnt
inherited

◆ _altRevAccntLit

QLabel* Ui_invoiceItem::_altRevAccntLit
inherited

◆ _billed

XLineEdit* Ui_invoiceItem::_billed
inherited

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _charTab

QWidget* Ui_invoiceItem::_charTab
inherited

◆ _close

QPushButton* Ui_invoiceItem::_close
inherited

◆ _comments

Comments* Ui_invoiceItem::_comments
inherited

◆ _commentsTab

QWidget* Ui_invoiceItem::_commentsTab
inherited

◆ _custPn

XLineEdit* Ui_invoiceItem::_custPn
inherited

◆ _custPnLit

QLabel* Ui_invoiceItem::_custPnLit
inherited

◆ _custPrice

CurrDisplay* Ui_invoiceItem::_custPrice
inherited

◆ _custPriceLit

QLabel* Ui_invoiceItem::_custPriceLit
inherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _descripLit

QLabel* Ui_invoiceItem::_descripLit
inherited

◆ _detailTab

QWidget* Ui_invoiceItem::_detailTab
inherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _extended

CurrCluster* Ui_invoiceItem::_extended
inherited

◆ _extendedLit

QLabel* Ui_invoiceItem::_extendedLit
inherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _invCharLit

XLabel* Ui_invoiceItem::_invCharLit
inherited

◆ _invcharView

CharacteristicsWidget* Ui_invoiceItem::_invcharView
inherited

◆ _invItemCharLit

XLabel* Ui_invoiceItem::_invItemCharLit
inherited

◆ _invoiceNumber

QLabel* Ui_invoiceItem::_invoiceNumber
inherited

◆ _invoiceNumberLit

QLabel* Ui_invoiceItem::_invoiceNumberLit
inherited

◆ _item

ItemCluster* Ui_invoiceItem::_item
inherited

◆ _itemcharView

QTreeView* Ui_invoiceItem::_itemcharView
inherited

◆ _itemDescrip

XTextEdit* Ui_invoiceItem::_itemDescrip
inherited

◆ _itemGroup

QGroupBox* Ui_invoiceItem::_itemGroup
inherited

◆ _itemNumber

XLineEdit* Ui_invoiceItem::_itemNumber
inherited

◆ _itemNumberLit

QLabel* Ui_invoiceItem::_itemNumberLit
inherited

◆ _itemSelected

QRadioButton* Ui_invoiceItem::_itemSelected
inherited

◆ _itemTypeGroup

QGroupBox* Ui_invoiceItem::_itemTypeGroup
inherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _lineNumber

QLabel* Ui_invoiceItem::_lineNumber
inherited

◆ _lineNumberLit

QLabel* Ui_invoiceItem::_lineNumberLit
inherited

◆ _listPrice

CurrDisplay* Ui_invoiceItem::_listPrice
inherited

◆ _listPriceLit

QLabel* Ui_invoiceItem::_listPriceLit
inherited

◆ _listPrices

QPushButton* Ui_invoiceItem::_listPrices
inherited

◆ _miscGroup

QGroupBox* Ui_invoiceItem::_miscGroup
inherited

◆ _miscSelected

QRadioButton* Ui_invoiceItem::_miscSelected
inherited

◆ _notes

XTextEdit* Ui_invoiceItem::_notes
inherited

◆ _ordered

XLineEdit* Ui_invoiceItem::_ordered
inherited

◆ _price

CurrCluster* Ui_invoiceItem::_price
inherited

◆ _priceGroup

QGroupBox* Ui_invoiceItem::_priceGroup
inherited

◆ _priceGroup_2

QGroupBox* Ui_invoiceItem::_priceGroup_2
inherited

◆ _priceLit

QLabel* Ui_invoiceItem::_priceLit
inherited

◆ _pricingUOM

XComboBox* Ui_invoiceItem::_pricingUOM
inherited

◆ _pricingUOMLit

QLabel* Ui_invoiceItem::_pricingUOMLit
inherited

◆ _qtyBilledLit

QLabel* Ui_invoiceItem::_qtyBilledLit
inherited

◆ _qtyGroup

QGroupBox* Ui_invoiceItem::_qtyGroup
inherited

◆ _qtyOrderedLit

QLabel* Ui_invoiceItem::_qtyOrderedLit
inherited

◆ _qtyUOM

XComboBox* Ui_invoiceItem::_qtyUOM
inherited

◆ _qtyUOMLit

QLabel* Ui_invoiceItem::_qtyUOMLit
inherited

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _salescat

XComboBox* Ui_invoiceItem::_salescat
inherited

◆ _salescatLit

QLabel* Ui_invoiceItem::_salescatLit
inherited

◆ _save

QPushButton* Ui_invoiceItem::_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_invoiceItem::_tab
inherited

◆ _tax

CurrCluster* Ui_invoiceItem::_tax
inherited

◆ _taxExempt

TaxExemptCluster* Ui_invoiceItem::_taxExempt
inherited

◆ _taxExemptLit

QLabel* Ui_invoiceItem::_taxExemptLit
inherited

◆ _taxGroup

QGroupBox* Ui_invoiceItem::_taxGroup
inherited

◆ _taxLit

XURLLabel* Ui_invoiceItem::_taxLit
inherited

◆ _taxtype

XComboBox* Ui_invoiceItem::_taxtype
inherited

◆ _taxtypeLit

QLabel* Ui_invoiceItem::_taxtypeLit
inherited

◆ _unitCost

CurrDisplay* Ui_invoiceItem::_unitCost
inherited

◆ _unitCostLit

QLabel* Ui_invoiceItem::_unitCostLit
inherited

◆ _updateInv

QCheckBox* Ui_invoiceItem::_updateInv
inherited

◆ _warehouse

WComboBox* Ui_invoiceItem::_warehouse
inherited

◆ _warehouseLit

QLabel* Ui_invoiceItem::_warehouseLit
inherited

◆ charVerticalLayout

QVBoxLayout* Ui_invoiceItem::charVerticalLayout
inherited

◆ frame

QFrame* Ui_invoiceItem::frame
inherited

◆ gridLayout

QGridLayout* Ui_invoiceItem::gridLayout
inherited

◆ gridLayout1

QGridLayout* Ui_invoiceItem::gridLayout1
inherited

◆ gridLayout10

QGridLayout* Ui_invoiceItem::gridLayout10
inherited

◆ gridLayout2

QGridLayout* Ui_invoiceItem::gridLayout2
inherited

◆ gridLayout3

QGridLayout* Ui_invoiceItem::gridLayout3
inherited

◆ gridLayout4

QGridLayout* Ui_invoiceItem::gridLayout4
inherited

◆ gridLayout5

QGridLayout* Ui_invoiceItem::gridLayout5
inherited

◆ gridLayout6

QGridLayout* Ui_invoiceItem::gridLayout6
inherited

◆ gridLayout7

QGridLayout* Ui_invoiceItem::gridLayout7
inherited

◆ gridLayout8

QGridLayout* Ui_invoiceItem::gridLayout8
inherited

◆ gridLayout9

QGridLayout* Ui_invoiceItem::gridLayout9
inherited

◆ gridLayout_13

QGridLayout* Ui_invoiceItem::gridLayout_13
inherited

◆ gridLayout_2

QGridLayout* Ui_invoiceItem::gridLayout_2
inherited

◆ gridLayout_3

QGridLayout* Ui_invoiceItem::gridLayout_3
inherited

◆ gridLayout_4

QGridLayout* Ui_invoiceItem::gridLayout_4
inherited

◆ gridLayout_5

QGridLayout* Ui_invoiceItem::gridLayout_5
inherited

◆ hboxLayout

QHBoxLayout* Ui_invoiceItem::hboxLayout
inherited

◆ hboxLayout1

QHBoxLayout* Ui_invoiceItem::hboxLayout1
inherited

◆ hboxLayout2

QHBoxLayout* Ui_invoiceItem::hboxLayout2
inherited

◆ horizontalLayout

QHBoxLayout* Ui_invoiceItem::horizontalLayout
inherited

◆ horizontalLayout_2

QHBoxLayout* Ui_invoiceItem::horizontalLayout_2
inherited

◆ horizontalSpacer

QSpacerItem* Ui_invoiceItem::horizontalSpacer
inherited

◆ horizontalSpacer_2

QSpacerItem* Ui_invoiceItem::horizontalSpacer_2
inherited

◆ horizontalSpacer_3

QSpacerItem* Ui_invoiceItem::horizontalSpacer_3
inherited

◆ notesTab

QWidget* Ui_invoiceItem::notesTab
inherited

◆ spacerItem

QSpacerItem* Ui_invoiceItem::spacerItem
inherited

◆ spacerItem1

QSpacerItem* Ui_invoiceItem::spacerItem1
inherited

◆ spacerItem2

QSpacerItem* Ui_invoiceItem::spacerItem2
inherited

◆ spacerItem3

QSpacerItem* Ui_invoiceItem::spacerItem3
inherited

◆ spacerItem4

QSpacerItem* Ui_invoiceItem::spacerItem4
inherited

◆ spacerItem5

QSpacerItem* Ui_invoiceItem::spacerItem5
inherited

◆ spacerItem6

QSpacerItem* Ui_invoiceItem::spacerItem6
inherited

◆ spacerItem7

QSpacerItem* Ui_invoiceItem::spacerItem7
inherited

◆ vboxLayout

QVBoxLayout* Ui_invoiceItem::vboxLayout
inherited

◆ vboxLayout1

QVBoxLayout* Ui_invoiceItem::vboxLayout1
inherited

◆ vboxLayout2

QVBoxLayout* Ui_invoiceItem::vboxLayout2
inherited

◆ vboxLayout3

QVBoxLayout* Ui_invoiceItem::vboxLayout3
inherited

◆ vboxLayout4

QVBoxLayout* Ui_invoiceItem::vboxLayout4
inherited

◆ verticalLayout

QVBoxLayout* Ui_invoiceItem::verticalLayout
inherited

◆ verticalLayout_2

QVBoxLayout* Ui_invoiceItem::verticalLayout_2
inherited

◆ verticalSpacer

QSpacerItem* Ui_invoiceItem::verticalSpacer
inherited

◆ verticalSpacer_2

QSpacerItem* Ui_invoiceItem::verticalSpacer_2
inherited

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17