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

#include <customer.h>

Public Member Functions

 customer (QWidget *parent=0, const char *name=0, Qt::WFlags fl=Qt::Window)
 
 ~customer ()
 
virtual Q_INVOKABLE int id () const
 
virtual Q_INVOKABLE int mode () const
 
- Public Member Functions inherited from XWidget
 XWidget (QWidget *parent=0, Qt::WindowFlags flags=0)
 
 XWidget (QWidget *parent, const char *name, Qt::WindowFlags flags=0)
 
 ~XWidget ()
 
virtual Q_INVOKABLE ParameterList get () const
 
- Public Member Functions inherited from Ui_customer
void retranslateUi (QWidget *customer)
 
void setupUi (QWidget *customer)
 

Public Slots

virtual void currentTabChanged (int index)
 
virtual void populate ()
 
virtual void sCancel ()
 
virtual void sCheck ()
 
virtual bool sCheckRequired ()
 
virtual void sClear ()
 
virtual void sDeleteCharacteristic ()
 
virtual void sDeleteShipto ()
 
virtual void sDeleteTaxreg ()
 
virtual void sEditCharacteristic ()
 
virtual void sEditCreditCard ()
 
virtual void sEditShipto ()
 
virtual void sEditTaxreg ()
 
virtual SetResponse set (const ParameterList &pParams)
 
virtual void setId (int)
 
virtual void sFillCcardList ()
 
virtual void sFillCharacteristicList ()
 
virtual void sFillList ()
 
virtual void sFillShiptoList ()
 
virtual void sFillTaxregList ()
 
virtual void sHandleButtons ()
 
virtual void sLoadCrmAcct (int)
 
virtual void sMoveDown ()
 
virtual void sMoveUp ()
 
virtual void sNewCharacteristic ()
 
virtual void sNewCreditCard ()
 
virtual void sNewShipto ()
 
virtual void sNewTaxreg ()
 
virtual void sNumberEditable (bool)
 
virtual void sPopulateCommission ()
 
virtual void sPopulateShiptoMenu (QMenu *menuThis)
 
virtual void sPopulateSummary ()
 
virtual void sPrepare ()
 
virtual void sPrint ()
 
virtual void sPrintShipto ()
 
virtual bool sSave ()
 
virtual void sSaveClicked ()
 
virtual void sViewCreditCard ()
 
virtual void sViewShipto ()
 
virtual void sViewTaxreg ()
 
- Public Slots inherited from XWidget
virtual enum SetResponse set (const ParameterList &)
 

Signals

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

Protected Attributes

dspAROpenItems_aritems
 
dspCashReceipts_cashreceipts
 
dspCreditCardTransactions_cctrans
 
contacts_contacts
 
openSalesOrders_orders
 
quotes_quotes
 
returnAuthorizationWorkbench_returns
 
todoList_todoList
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *)
 
virtual void setValid (bool valid)
 
- Protected Member Functions inherited from XWidget
void closeEvent (QCloseEvent *event)
 
QScriptEngine * engine ()
 
void showEvent (QShowEvent *event)
 

Protected Slots

virtual void languageChange ()
 
virtual void sCrmAccount ()
 
virtual void sNumberEdited ()
 
- Protected Slots inherited from XWidget
virtual enum SetResponse postSet ()
 

Additional Inherited Members

- Public Attributes inherited from Ui_customer
QWidget_accountingTab
 
QCheckBox_active
 
QStackedWidget * _addressStack
 
QWidget_addressTab
 
QCheckBox_allowFFBillto
 
QCheckBox_allowFFShipto
 
QRadioButton * _aritemsButton
 
QWidget_aritemsPage
 
QCheckBox_autoHoldOrders
 
QCheckBox_autoUpdateStatus
 
XLabel_backlog
 
QLabel_backlogLit
 
QCheckBox_backorders
 
XComboBox_balanceMethod
 
QLabel_balanceMethodLit
 
ContactCluster_billCntct
 
QRadioButton * _billingButton
 
QWidget_billingPage
 
QCheckBox_blanketPos
 
QRadioButton * _cashreceiptsButton
 
QWidget_cashreceiptsPage
 
XTreeWidget_cc
 
QRadioButton * _cctransButton
 
QWidget_cctransPage
 
QWidget_characteristicsTab
 
XTreeWidget_charass
 
QWidget_charassPage
 
QTreeView_chartempl
 
QWidget_charTemplatePage
 
QPushButton * _close
 
Comments_comments
 
QRadioButton * _commentsButton
 
QWidget_commentsPage
 
QRadioButton * _contactsButton
 
QWidget_contactsPage
 
ContactCluster_corrCntct
 
QRadioButton * _correspButton
 
QWidget_correspondancePage
 
QRadioButton * _creditcardsButton
 
QWidget_creditcardsPage
 
QGroupBox_creditGroup
 
CurrCluster_creditLimit
 
QLabel_creditLimitLit
 
XLineEdit_creditRating
 
QLabel_creditRatingLit
 
QGroupBox_creditStatusGroup
 
QPushButton * _crmacct
 
QStackedWidget * _crmStack
 
QWidget_crmTab
 
XComboBox_currency
 
QLabel_currencyLit
 
XComboBox_custtype
 
QLabel_custtypeLit
 
QLabel_defaultBOLFormatLit
 
XLineEdit_defaultCommissionPrcnt
 
QLabel_defaultCommPrcnt
 
XLineEdit_defaultDiscountPrcnt
 
QLabel_defaultDiscountPrcntLit
 
QGroupBox_defaultGroup
 
QLabel_defaultShipVia
 
QLabel_defaultTerms
 
QPushButton * _deleteCharacteristic
 
QPushButton * _deleteShipto
 
QPushButton * _deleteTaxreg
 
Documents_documents
 
QWidget_documentsTab
 
QPushButton * _downCC
 
QPushButton * _editCC
 
QPushButton * _editCharacteristic
 
QPushButton * _editShipto
 
QPushButton * _editTaxreg
 
QCheckBox_exemptFinanceCharge
 
DLineEdit_firstSaleDate
 
QLabel_firstSaleDateLit
 
QRadioButton * _generalButton
 
QWidget_generalPage
 
QSpinBox_graceDays
 
QLabel_graceDaysLit
 
QRadioButton * _inGoodStanding
 
DLineEdit_lastSaleDate
 
QLabel_lastSaleDateLit
 
XLabel_lastYearSales
 
QLabel_lastYearSalesLit
 
XLabel_lateBalance
 
QLabel_lateBalanceLit
 
XLineEdit_name
 
QLabel_nameLit
 
QPushButton * _newCC
 
QPushButton * _newCharacteristic
 
QPushButton * _newShipto
 
QPushButton * _newTaxreg
 
XTextEdit_notes
 
QRadioButton * _notesButton
 
QWidget_notesPage
 
CustCluster_number
 
QLabel_numberLit
 
QRadioButton * _onCreditHold
 
QRadioButton * _onCreditWarning
 
XLabel_openBalance
 
QLabel_openBalanceLit
 
QRadioButton * _ordersButton
 
QWidget_ordersPage
 
QCheckBox_partialShipments
 
QLabel_prcnt1Lit
 
QLabel_prcnt2Lit
 
QPushButton * _print
 
QPushButton * _printShipto
 
QRadioButton * _quotesButton
 
QWidget_quotesPage
 
QStackedWidget * _receivablesStack
 
QStackedWidget * _remarksStack
 
QRadioButton * _returnsButton
 
QWidget_returnsPage
 
XComboBox_salesrep
 
QLabel_salesrepLit
 
QStackedWidget * _salesStack
 
QWidget_salesTab
 
QPushButton * _save
 
WComboBox_sellingWarehouse
 
QLabel_sellingWarehouseLit
 
QGroupBox_settingsGroup
 
QStackedWidget * _settingsStack
 
QWidget_settingsTab
 
XComboBox_shipchrg
 
QLabel_shipchrgLit
 
XComboBox_shipform
 
XTreeWidget_shipto
 
QRadioButton * _shiptoButton
 
QWidget_shiptoPage
 
XComboBox_shipvia
 
QRadioButton * _summaryButton
 
QWidget_summaryPage
 
QTabWidget * _tab
 
QWidget_tabRemarks
 
QRadioButton * _taxButton
 
QWidget_taxPage
 
XTreeWidget_taxreg
 
QLabel_taxregLit
 
XComboBox_taxzone
 
QLabel_taxzoneLit
 
XComboBox_terms
 
QRadioButton * _termsButton
 
QWidget_termsPage
 
QRadioButton * _todoListButton
 
QWidget_todoListPage
 
QPushButton * _upCC
 
QCheckBox_usesPOs
 
QPushButton * _viewCC
 
QPushButton * _viewShipto
 
QPushButton * _viewTaxreg
 
QGroupBox_warnLate
 
QStackedWidget * _widgetStack
 
XLabel_ytdSales
 
QLabel_ytdSalesLit
 
QButtonGroup * accountingButtonGroup
 
QSpacerItem * accountingButtonsSpacer
 
QSpacerItem * crmButtonsSpacer
 
QGridLayout * gridLayout
 
QGridLayout * gridLayout1
 
QGridLayout * gridLayout10
 
QGridLayout * gridLayout11
 
QGridLayout * gridLayout12
 
QGridLayout * gridLayout13
 
QGridLayout * gridLayout14
 
QGridLayout * gridLayout15
 
QGridLayout * gridLayout2
 
QGridLayout * gridLayout3
 
QGridLayout * gridLayout4
 
QGridLayout * gridLayout5
 
QGridLayout * gridLayout6
 
QGridLayout * gridLayout7
 
QGridLayout * gridLayout8
 
QGridLayout * gridLayout9
 
QGridLayout * gridLayout_10
 
QGridLayout * gridLayout_12
 
QGridLayout * gridLayout_13
 
QGridLayout * gridLayout_14
 
QGridLayout * gridLayout_15
 
QGridLayout * gridLayout_16
 
QGridLayout * gridLayout_17
 
QGridLayout * gridLayout_18
 
QGridLayout * gridLayout_19
 
QGridLayout * gridLayout_2
 
QGridLayout * gridLayout_20
 
QGridLayout * gridLayout_21
 
QGridLayout * gridLayout_22
 
QGridLayout * gridLayout_23
 
QGridLayout * gridLayout_24
 
QGridLayout * gridLayout_25
 
QGridLayout * gridLayout_26
 
QGridLayout * gridLayout_3
 
QGridLayout * gridLayout_4
 
QGridLayout * gridLayout_5
 
QGridLayout * gridLayout_7
 
QGridLayout * gridLayout_8
 
QGridLayout * gridLayout_9
 
QGroupBoxgroupBox_2
 
QGroupBoxgroupBox_3
 
QGroupBoxgroupBox_4
 
QHBoxLayout * hboxLayout
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * hboxLayout10
 
QHBoxLayout * hboxLayout11
 
QHBoxLayout * hboxLayout12
 
QHBoxLayout * hboxLayout13
 
QHBoxLayout * hboxLayout14
 
QHBoxLayout * hboxLayout15
 
QHBoxLayout * hboxLayout16
 
QHBoxLayout * hboxLayout17
 
QHBoxLayout * hboxLayout18
 
QHBoxLayout * hboxLayout19
 
QHBoxLayout * hboxLayout2
 
QHBoxLayout * hboxLayout20
 
QHBoxLayout * hboxLayout21
 
QHBoxLayout * hboxLayout22
 
QHBoxLayout * hboxLayout23
 
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
 
QSpacerItem * horizontalSpacer_3
 
QSpacerItem * horizontalSpacer_4
 
QSpacerItem * horizontalSpacer_5
 
QSpacerItem * horizontalSpacer_6
 
QGridLayout * remarksLayout
 
QButtonGroup * settingsButtonGroup
 
QSpacerItem * spacerItem
 
QSpacerItem * spacerItem1
 
QSpacerItem * spacerItem10
 
QSpacerItem * spacerItem11
 
QSpacerItem * spacerItem12
 
QSpacerItem * spacerItem13
 
QSpacerItem * spacerItem14
 
QSpacerItem * spacerItem15
 
QSpacerItem * spacerItem16
 
QSpacerItem * spacerItem17
 
QSpacerItem * spacerItem18
 
QSpacerItem * spacerItem19
 
QSpacerItem * spacerItem2
 
QSpacerItem * spacerItem20
 
QSpacerItem * spacerItem21
 
QSpacerItem * spacerItem22
 
QSpacerItem * spacerItem23
 
QSpacerItem * spacerItem24
 
QSpacerItem * spacerItem25
 
QSpacerItem * spacerItem26
 
QSpacerItem * spacerItem27
 
QSpacerItem * spacerItem28
 
QSpacerItem * spacerItem29
 
QSpacerItem * spacerItem3
 
QSpacerItem * spacerItem30
 
QSpacerItem * spacerItem31
 
QSpacerItem * spacerItem32
 
QSpacerItem * spacerItem33
 
QSpacerItem * spacerItem34
 
QSpacerItem * spacerItem35
 
QSpacerItem * spacerItem4
 
QSpacerItem * spacerItem5
 
QSpacerItem * spacerItem6
 
QSpacerItem * spacerItem7
 
QSpacerItem * spacerItem8
 
QSpacerItem * spacerItem9
 
QVBoxLayout * vboxLayout
 
QVBoxLayout * vboxLayout1
 
QVBoxLayout * vboxLayout10
 
QVBoxLayout * vboxLayout11
 
QVBoxLayout * vboxLayout2
 
QVBoxLayout * vboxLayout3
 
QVBoxLayout * vboxLayout4
 
QVBoxLayout * vboxLayout5
 
QVBoxLayout * vboxLayout6
 
QVBoxLayout * vboxLayout7
 
QVBoxLayout * vboxLayout8
 
QVBoxLayout * vboxLayout9
 
QVBoxLayout * verticalLayout
 
QVBoxLayout * verticalLayout_2
 
QSpacerItem * verticalSpacer
 

Constructor & Destructor Documentation

customer::customer ( QWidget parent = 0,
const char *  name = 0,
Qt::WFlags  fl = Qt::Window 
)
customer::~customer ( )

Member Function Documentation

void customer::closeEvent ( QCloseEvent *  pEvent)
protectedvirtual
void customer::currentTabChanged ( int  index)
virtualslot
int customer::id ( ) const
virtual
void customer::languageChange ( )
protectedvirtualslot
int customer::mode ( ) const
virtual
Returns
one of cNew, cEdit, cView, ...
Todo:
change possible modes to an enum in guiclient.h (and add cUnknown?)
void customer::newId ( int  )
signal
void customer::newMode ( int  )
signal
void customer::populate ( )
virtualslot
void customer::populated ( )
signal
void customer::saved ( int  )
signal
void customer::sCancel ( )
virtualslot
void customer::sCheck ( )
virtualslot
bool customer::sCheckRequired ( )
virtualslot
void customer::sClear ( )
virtualslot
void customer::sCrmAccount ( )
protectedvirtualslot
void customer::sDeleteCharacteristic ( )
virtualslot
void customer::sDeleteShipto ( )
virtualslot
void customer::sDeleteTaxreg ( )
virtualslot
void customer::sEditCharacteristic ( )
virtualslot
void customer::sEditCreditCard ( )
virtualslot
void customer::sEditShipto ( )
virtualslot
void customer::sEditTaxreg ( )
virtualslot
enum SetResponse customer::set ( const ParameterList &  pParams)
virtualslot
void customer::setId ( int  p)
virtualslot
void customer::setValid ( bool  valid)
protectedvirtual
void customer::sFillCcardList ( )
virtualslot
void customer::sFillCharacteristicList ( )
virtualslot
void customer::sFillList ( )
virtualslot
void customer::sFillShiptoList ( )
virtualslot
void customer::sFillTaxregList ( )
virtualslot
void customer::sHandleButtons ( )
virtualslot
void customer::sLoadCrmAcct ( int  crmacctId)
virtualslot
void customer::sMoveDown ( )
virtualslot
void customer::sMoveUp ( )
virtualslot
void customer::sNewCharacteristic ( )
virtualslot
void customer::sNewCreditCard ( )
virtualslot
void customer::sNewShipto ( )
virtualslot
void customer::sNewTaxreg ( )
virtualslot
void customer::sNumberEditable ( bool  p)
virtualslot
void customer::sNumberEdited ( )
protectedvirtualslot
void customer::sPopulateCommission ( )
virtualslot
void customer::sPopulateShiptoMenu ( QMenu *  menuThis)
virtualslot
void customer::sPopulateSummary ( )
virtualslot
void customer::sPrepare ( )
virtualslot
void customer::sPrint ( )
virtualslot
void customer::sPrintShipto ( )
virtualslot
bool customer::sSave ( )
virtualslot
void customer::sSaveClicked ( )
virtualslot
void customer::sViewCreditCard ( )
virtualslot
void customer::sViewShipto ( )
virtualslot
void customer::sViewTaxreg ( )
virtualslot

Member Data Documentation

dspAROpenItems* customer::_aritems
protected
dspCashReceipts* customer::_cashreceipts
protected
dspCreditCardTransactions* customer::_cctrans
protected
contacts* customer::_contacts
protected
openSalesOrders* customer::_orders
protected
quotes* customer::_quotes
protected
returnAuthorizationWorkbench* customer::_returns
protected
todoList* customer::_todoList
protected

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

Generated on Fri Oct 7 2016 16:24:47 xTuple ERP Programmer Reference, Version 4.7.0 doxygen 1.8.10