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

#include <itemSource.h>

Inheritance diagram for itemSource:
XDialog Ui::itemSource QDialog ScriptablePrivate Ui_itemSource ScriptableWidget

Public Slots

int exec ()
 
virtual void populate ()
 
virtual void sAdd ()
 
virtual void sContractChanged (int pId)
 
virtual void sDelete ()
 
virtual void sEdit ()
 
virtual SetResponse set (const ParameterList &pParams)
 
virtual void setRememberPos (bool)
 
virtual void setRememberSize (bool)
 
virtual void sFillPriceList ()
 
virtual void sPopulateMenu (QMenu *pMenu)
 
virtual void sRejected ()
 
virtual bool sSave ()
 
virtual void sSaveClicked ()
 
virtual void sVendorChanged (int pId)
 

Public Member Functions

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

Public Attributes

QHBoxLayout * _2
 
QCheckBox_active
 
QPushButton * _add
 
QPushButton * _close
 
XComboBox_contract
 
XLineEdit_contractedQty
 
QLabel_contractedQtyLit
 
QLabel_contractLit
 
DateCluster_dates
 
QCheckBox_default
 
QPushButton * _delete
 
Documents_documents
 
QWidget_documentsTab
 
QPushButton * _edit
 
QGroupBox_effectivityGroup
 
QLabel_invVendorRatioLit
 
XLineEdit_invVendorUOMRatio
 
ItemCluster_item
 
XTreeWidget_itemsrcp
 
QSpinBox_leadTime
 
QLabel_leadTimeLit
 
QWidget_manfTab
 
QTextEdit_manufItemDescrip
 
XLineEdit_manufItemNumber
 
XComboBox_manufName
 
QLabel_manufNameLit
 
QLabel_manufNumberLit
 
QLabel_minimumOrderLit
 
XLineEdit_minOrderQty
 
XLineEdit_multOrderQty
 
QLabel_multOrderQtyLit
 
XTextEdit_notes
 
QWidget_notesTab
 
QWidget_pricesTab
 
QPushButton * _save
 
QTabWidget * _tab
 
XLineEdit_upcCode
 
QLabel_upcCodeLit
 
QGroupBox_venditemGroup
 
VendorCluster_vendor
 
XComboBox_vendorCurrency
 
QLabel_vendorCurrencyLit
 
QGroupBox_vendorGroup
 
QTextEdit_vendorItemDescrip
 
XLineEdit_vendorItemNumber
 
QSpinBox_vendorRanking
 
QLabel_vendorRankingLit
 
QWidget_vendorTab
 
XComboBox_vendorUOM
 
QLabel_vendorUOMLit
 
QLabel_vItemNumberLit
 
QGridLayout * gridLayout
 
QGridLayout * gridLayout1
 
QGridLayout * gridLayout2
 
QGridLayout * gridLayout3
 
QHBoxLayout * hboxLayout
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * hboxLayout2
 
QHBoxLayout * hboxLayout3
 
QHBoxLayout * hboxLayout4
 
QHBoxLayout * hboxLayout5
 
QHBoxLayout * hboxLayout6
 
QHBoxLayout * hboxLayout7
 
QHBoxLayout * hboxLayout8
 
QHBoxLayout * hboxLayout9
 
QHBoxLayout * horizontalLayout
 
QHBoxLayout * horizontalLayout_2
 
QHBoxLayout * horizontalLayout_3
 
QHBoxLayout * horizontalLayout_4
 
QHBoxLayout * horizontalLayout_5
 
QHBoxLayout * horizontalLayout_6
 
QHBoxLayout * horizontalLayout_7
 
QSpacerItem * horizontalSpacer
 
QSpacerItem * horizontalSpacer_2
 
QLabellabel
 
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 * verticalLayout
 
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

◆ itemSource()

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

◆ ~itemSource()

itemSource::~itemSource ( )

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

◆ languageChange

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

◆ populate

void itemSource::populate ( )
virtualslot

◆ postSet

enum SetResponse XDialog::postSet ( )
protectedvirtualslotinherited

◆ retranslateUi()

void Ui_itemSource::retranslateUi ( QDialog itemSource)
inlineinherited

◆ sAdd

void itemSource::sAdd ( )
virtualslot

◆ saveSize

void XDialog::saveSize ( )
protectedvirtualslotinherited

◆ sContractChanged

void itemSource::sContractChanged ( int  pId)
virtualslot

◆ sDelete

void itemSource::sDelete ( )
virtualslot

◆ sEdit

void itemSource::sEdit ( )
virtualslot

◆ set

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

◆ sFillPriceList

void itemSource::sFillPriceList ( )
virtualslot

◆ showEvent()

void XDialog::showEvent ( QShowEvent *  event)
protectedvirtualinherited

Reimplemented in externalShipping.

◆ sPopulateMenu

void itemSource::sPopulateMenu ( QMenu *  pMenu)
virtualslot

◆ sRejected

void itemSource::sRejected ( )
virtualslot

◆ sSave

bool itemSource::sSave ( )
virtualslot

◆ sSaveClicked

void itemSource::sSaveClicked ( )
virtualslot

◆ sVendorChanged

void itemSource::sVendorChanged ( int  pId)
virtualslot

Member Data Documentation

◆ _2

QHBoxLayout* Ui_itemSource::_2
inherited

◆ _active

QCheckBox* Ui_itemSource::_active
inherited

◆ _add

QPushButton* Ui_itemSource::_add
inherited

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _close

QPushButton* Ui_itemSource::_close
inherited

◆ _contract

XComboBox* Ui_itemSource::_contract
inherited

◆ _contractedQty

XLineEdit* Ui_itemSource::_contractedQty
inherited

◆ _contractedQtyLit

QLabel* Ui_itemSource::_contractedQtyLit
inherited

◆ _contractLit

QLabel* Ui_itemSource::_contractLit
inherited

◆ _dates

DateCluster* Ui_itemSource::_dates
inherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _default

QCheckBox* Ui_itemSource::_default
inherited

◆ _delete

QPushButton* Ui_itemSource::_delete
inherited

◆ _documents

Documents* Ui_itemSource::_documents
inherited

◆ _documentsTab

QWidget* Ui_itemSource::_documentsTab
inherited

◆ _edit

QPushButton* Ui_itemSource::_edit
inherited

◆ _effectivityGroup

QGroupBox* Ui_itemSource::_effectivityGroup
inherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _invVendorRatioLit

QLabel* Ui_itemSource::_invVendorRatioLit
inherited

◆ _invVendorUOMRatio

XLineEdit* Ui_itemSource::_invVendorUOMRatio
inherited

◆ _item

ItemCluster* Ui_itemSource::_item
inherited

◆ _itemsrcp

XTreeWidget* Ui_itemSource::_itemsrcp
inherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _leadTime

QSpinBox* Ui_itemSource::_leadTime
inherited

◆ _leadTimeLit

QLabel* Ui_itemSource::_leadTimeLit
inherited

◆ _manfTab

QWidget* Ui_itemSource::_manfTab
inherited

◆ _manufItemDescrip

QTextEdit* Ui_itemSource::_manufItemDescrip
inherited

◆ _manufItemNumber

XLineEdit* Ui_itemSource::_manufItemNumber
inherited

◆ _manufName

XComboBox* Ui_itemSource::_manufName
inherited

◆ _manufNameLit

QLabel* Ui_itemSource::_manufNameLit
inherited

◆ _manufNumberLit

QLabel* Ui_itemSource::_manufNumberLit
inherited

◆ _minimumOrderLit

QLabel* Ui_itemSource::_minimumOrderLit
inherited

◆ _minOrderQty

XLineEdit* Ui_itemSource::_minOrderQty
inherited

◆ _multOrderQty

XLineEdit* Ui_itemSource::_multOrderQty
inherited

◆ _multOrderQtyLit

QLabel* Ui_itemSource::_multOrderQtyLit
inherited

◆ _notes

XTextEdit* Ui_itemSource::_notes
inherited

◆ _notesTab

QWidget* Ui_itemSource::_notesTab
inherited

◆ _pricesTab

QWidget* Ui_itemSource::_pricesTab
inherited

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _save

QPushButton* Ui_itemSource::_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_itemSource::_tab
inherited

◆ _upcCode

XLineEdit* Ui_itemSource::_upcCode
inherited

◆ _upcCodeLit

QLabel* Ui_itemSource::_upcCodeLit
inherited

◆ _venditemGroup

QGroupBox* Ui_itemSource::_venditemGroup
inherited

◆ _vendor

VendorCluster* Ui_itemSource::_vendor
inherited

◆ _vendorCurrency

XComboBox* Ui_itemSource::_vendorCurrency
inherited

◆ _vendorCurrencyLit

QLabel* Ui_itemSource::_vendorCurrencyLit
inherited

◆ _vendorGroup

QGroupBox* Ui_itemSource::_vendorGroup
inherited

◆ _vendorItemDescrip

QTextEdit* Ui_itemSource::_vendorItemDescrip
inherited

◆ _vendorItemNumber

XLineEdit* Ui_itemSource::_vendorItemNumber
inherited

◆ _vendorRanking

QSpinBox* Ui_itemSource::_vendorRanking
inherited

◆ _vendorRankingLit

QLabel* Ui_itemSource::_vendorRankingLit
inherited

◆ _vendorTab

QWidget* Ui_itemSource::_vendorTab
inherited

◆ _vendorUOM

XComboBox* Ui_itemSource::_vendorUOM
inherited

◆ _vendorUOMLit

QLabel* Ui_itemSource::_vendorUOMLit
inherited

◆ _vItemNumberLit

QLabel* Ui_itemSource::_vItemNumberLit
inherited

◆ gridLayout

QGridLayout* Ui_itemSource::gridLayout
inherited

◆ gridLayout1

QGridLayout* Ui_itemSource::gridLayout1
inherited

◆ gridLayout2

QGridLayout* Ui_itemSource::gridLayout2
inherited

◆ gridLayout3

QGridLayout* Ui_itemSource::gridLayout3
inherited

◆ hboxLayout

QHBoxLayout* Ui_itemSource::hboxLayout
inherited

◆ hboxLayout1

QHBoxLayout* Ui_itemSource::hboxLayout1
inherited

◆ hboxLayout2

QHBoxLayout* Ui_itemSource::hboxLayout2
inherited

◆ hboxLayout3

QHBoxLayout* Ui_itemSource::hboxLayout3
inherited

◆ hboxLayout4

QHBoxLayout* Ui_itemSource::hboxLayout4
inherited

◆ hboxLayout5

QHBoxLayout* Ui_itemSource::hboxLayout5
inherited

◆ hboxLayout6

QHBoxLayout* Ui_itemSource::hboxLayout6
inherited

◆ hboxLayout7

QHBoxLayout* Ui_itemSource::hboxLayout7
inherited

◆ hboxLayout8

QHBoxLayout* Ui_itemSource::hboxLayout8
inherited

◆ hboxLayout9

QHBoxLayout* Ui_itemSource::hboxLayout9
inherited

◆ horizontalLayout

QHBoxLayout* Ui_itemSource::horizontalLayout
inherited

◆ horizontalLayout_2

QHBoxLayout* Ui_itemSource::horizontalLayout_2
inherited

◆ horizontalLayout_3

QHBoxLayout* Ui_itemSource::horizontalLayout_3
inherited

◆ horizontalLayout_4

QHBoxLayout* Ui_itemSource::horizontalLayout_4
inherited

◆ horizontalLayout_5

QHBoxLayout* Ui_itemSource::horizontalLayout_5
inherited

◆ horizontalLayout_6

QHBoxLayout* Ui_itemSource::horizontalLayout_6
inherited

◆ horizontalLayout_7

QHBoxLayout* Ui_itemSource::horizontalLayout_7
inherited

◆ horizontalSpacer

QSpacerItem* Ui_itemSource::horizontalSpacer
inherited

◆ horizontalSpacer_2

QSpacerItem* Ui_itemSource::horizontalSpacer_2
inherited

◆ label

QLabel* Ui_itemSource::label
inherited

◆ spacerItem

QSpacerItem* Ui_itemSource::spacerItem
inherited

◆ spacerItem1

QSpacerItem* Ui_itemSource::spacerItem1
inherited

◆ spacerItem2

QSpacerItem* Ui_itemSource::spacerItem2
inherited

◆ spacerItem3

QSpacerItem* Ui_itemSource::spacerItem3
inherited

◆ spacerItem4

QSpacerItem* Ui_itemSource::spacerItem4
inherited

◆ spacerItem5

QSpacerItem* Ui_itemSource::spacerItem5
inherited

◆ spacerItem6

QSpacerItem* Ui_itemSource::spacerItem6
inherited

◆ spacerItem7

QSpacerItem* Ui_itemSource::spacerItem7
inherited

◆ spacerItem8

QSpacerItem* Ui_itemSource::spacerItem8
inherited

◆ spacerItem9

QSpacerItem* Ui_itemSource::spacerItem9
inherited

◆ vboxLayout

QVBoxLayout* Ui_itemSource::vboxLayout
inherited

◆ vboxLayout1

QVBoxLayout* Ui_itemSource::vboxLayout1
inherited

◆ vboxLayout2

QVBoxLayout* Ui_itemSource::vboxLayout2
inherited

◆ vboxLayout3

QVBoxLayout* Ui_itemSource::vboxLayout3
inherited

◆ vboxLayout4

QVBoxLayout* Ui_itemSource::vboxLayout4
inherited

◆ verticalLayout

QVBoxLayout* Ui_itemSource::verticalLayout
inherited

◆ verticalSpacer

QSpacerItem* Ui_itemSource::verticalSpacer
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