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

#include <opportunity.h>

Inheritance diagram for opportunity:
XDialog Ui::opportunity QDialog ScriptablePrivate Ui_opportunity ScriptableWidget

Public Slots

virtual void done (int)
 
int exec ()
 
virtual void populate ()
 
virtual void sAttachQuote ()
 
virtual void sAttachSalesOrder ()
 
virtual bool save (bool)
 
virtual void sCancel ()
 
virtual void sConvertQuote ()
 
virtual void sDeleteQuote ()
 
virtual void sDeleteSale ()
 
virtual void sDeleteSalesOrder ()
 
virtual void sEditQuote ()
 
virtual void sEditSale ()
 
virtual void sEditSalesOrder ()
 
virtual SetResponse set (const ParameterList &pParams)
 
virtual void setRememberPos (bool)
 
virtual void setRememberSize (bool)
 
virtual void setViewMode ()
 
virtual void setVisible (bool)
 
virtual void sFillSalesList ()
 
virtual void sHandleAssigned ()
 
virtual void sHandleCrmacct (int)
 
virtual void sHandleSalesPrivs ()
 
virtual void sNewQuote ()
 
virtual void sNewSalesOrder ()
 
virtual void sOppTypeChanged (const int)
 
virtual void sPopulateSalesMenu (QMenu *)
 
virtual void sPrintQuote ()
 
virtual void sPrintSale ()
 
virtual void sPrintSalesOrder ()
 
virtual void sProjectUpdated ()
 
virtual void sSave ()
 
virtual void sViewQuote ()
 
virtual void sViewSale ()
 
virtual void sViewSalesOrder ()
 

Public Member Functions

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

Static Public Member Functions

static bool userHasPriv (const int=cView, const int=0)
 

Public Attributes

QVBoxLayout * _2
 
QCheckBox_active
 
DLineEdit_actualDate
 
QLabel_actualDateLit
 
CurrCluster_amount
 
QLabel_amountLit
 
DLineEdit_assignDate
 
QLabel_assignDateLit
 
UsernameCluster_assignedTo
 
QLabel_assignedToLit
 
QPushButton * _attachSale
 
QDialogButtonBox * _buttonBox
 
CharacteristicsWidget_charass
 
ContactCluster_cntct
 
QGroupBox_cntctGroup
 
Comments_comments
 
QPushButton * _convertQuote
 
QGroupBox_crmAccountGroup
 
CRMAcctCluster_crmacct
 
QLabel_crmacctLit
 
QPushButton * _deleteSale
 
Documents_documents
 
QWidget_documentsTab
 
QPushButton * _editSale
 
QGroupBox_listGroup
 
QLineEdit_name
 
QLabel_nameLit
 
QPushButton * _newSale
 
XTextEdit_notes
 
QLabel_number
 
QLabel_numberLit
 
XComboBox_oppsource
 
QLabel_oppsourceLit
 
XComboBox_oppstage
 
QLabel_oppstageLit
 
XComboBox_opptype
 
QLabel_opptypeLit
 
UsernameCluster_owner
 
QLabel_ownerLit
 
QLabel_prcntLit
 
QPushButton * _printSale
 
XComboBox_priority
 
QLabel_priorityLit
 
XLineEdit_probability
 
QLabel_probabilityLit
 
ProjectCluster_project
 
XLabel_projectLit
 
XTreeWidget_salesList
 
QWidget_salesTab
 
DLineEdit_startDate
 
XLabel_startDateLit
 
QGroupBox_statsGroup
 
QTabWidget * _tab
 
DLineEdit_targetDate
 
QLabel_targetDateLit
 
QWidget_taskListTab
 
QPushButton * _viewSale
 
QWidgetcharass
 
QWidgetcomment
 
QGridLayout * gridLayout
 
QGridLayout * gridLayout_2
 
QGridLayout * gridLayout_3
 
QGridLayout * gridLayout_4
 
QGridLayout * gridLayout_5
 
QGridLayout * gridLayout_6
 
QGridLayout * gridLayout_8
 
QGridLayout * gridLayout_9
 
QGridLayout * gridLayout_task
 
QHBoxLayout * hboxLayout
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * horizontalLayout
 
QHBoxLayout * horizontalLayout_2
 
QHBoxLayout * horizontalLayout_3
 
QWidgetnotes
 
QSpacerItem * spacerItem
 
QWidgettab
 
QVBoxLayout * vboxLayout
 
QVBoxLayout * vboxLayout1
 
QSpacerItem * verticalSpacer
 
QSpacerItem * verticalSpacer_2
 
QSpacerItem * verticalSpacer_3
 
QSpacerItem * verticalSpacer_4
 

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
 
taskList_taskList
 

Static Protected Attributes

static ScriptCache_cache
 
static GuiClientInterface_guiClientInterface
 

Constructor & Destructor Documentation

◆ opportunity()

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

◆ ~opportunity()

opportunity::~opportunity ( )

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.

◆ done

void opportunity::done ( int  result)
virtualslot

◆ engine()

QScriptEngine * ScriptablePrivate::engine ( )
virtualinherited

Reimplemented from ScriptableWidget.

◆ exec

int XDialog::exec ( )
slotinherited

◆ get()

ParameterList XDialog::get ( ) const
virtualinherited

Implements ScriptablePrivate.

◆ id()

int opportunity::id ( )
virtual

◆ languageChange

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

◆ populate

void opportunity::populate ( )
virtualslot

◆ postSet

enum SetResponse XDialog::postSet ( )
protectedvirtualslotinherited

◆ retranslateUi()

void Ui_opportunity::retranslateUi ( QDialog opportunity)
inlineinherited

◆ sAttachQuote

void opportunity::sAttachQuote ( )
virtualslot

◆ sAttachSalesOrder

void opportunity::sAttachSalesOrder ( )
virtualslot

◆ save

bool opportunity::save ( bool  partial)
virtualslot

◆ saveSize

void XDialog::saveSize ( )
protectedvirtualslotinherited

◆ sCancel

void opportunity::sCancel ( )
virtualslot

◆ sConvertQuote

void opportunity::sConvertQuote ( )
virtualslot

◆ sDeleteQuote

void opportunity::sDeleteQuote ( )
virtualslot

◆ sDeleteSale

void opportunity::sDeleteSale ( )
virtualslot

◆ sDeleteSalesOrder

void opportunity::sDeleteSalesOrder ( )
virtualslot

◆ sEditQuote

void opportunity::sEditQuote ( )
virtualslot

◆ sEditSale

void opportunity::sEditSale ( )
virtualslot

◆ sEditSalesOrder

void opportunity::sEditSalesOrder ( )
virtualslot

◆ set

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

◆ setViewMode

void opportunity::setViewMode ( )
virtualslot

◆ setVisible

void opportunity::setVisible ( bool  visible)
virtualslot

◆ sFillSalesList

void opportunity::sFillSalesList ( )
virtualslot

◆ sHandleAssigned

void opportunity::sHandleAssigned ( )
virtualslot

◆ sHandleCrmacct

void opportunity::sHandleCrmacct ( int  pCrmacctid)
virtualslot

◆ sHandleSalesPrivs

void opportunity::sHandleSalesPrivs ( )
virtualslot

◆ showEvent()

void XDialog::showEvent ( QShowEvent *  event)
protectedvirtualinherited

Reimplemented in externalShipping.

◆ sNewQuote

void opportunity::sNewQuote ( )
virtualslot

◆ sNewSalesOrder

void opportunity::sNewSalesOrder ( )
virtualslot

◆ sOppTypeChanged

void opportunity::sOppTypeChanged ( const int  newCat)
virtualslot

◆ sPopulateSalesMenu

void opportunity::sPopulateSalesMenu ( QMenu *  pMenu)
virtualslot

◆ sPrintQuote

void opportunity::sPrintQuote ( )
virtualslot

◆ sPrintSale

void opportunity::sPrintSale ( )
virtualslot

◆ sPrintSalesOrder

void opportunity::sPrintSalesOrder ( )
virtualslot

◆ sProjectUpdated

void opportunity::sProjectUpdated ( )
virtualslot

◆ sSave

void opportunity::sSave ( )
virtualslot

◆ sViewQuote

void opportunity::sViewQuote ( )
virtualslot

◆ sViewSale

void opportunity::sViewSale ( )
virtualslot

◆ sViewSalesOrder

void opportunity::sViewSalesOrder ( )
virtualslot

◆ userHasPriv()

bool opportunity::userHasPriv ( const int  pMode = cView,
const int  pId = 0 
)
static

Member Data Documentation

◆ _2

QVBoxLayout* Ui_opportunity::_2
inherited

◆ _active

QCheckBox* Ui_opportunity::_active
inherited

◆ _actualDate

DLineEdit* Ui_opportunity::_actualDate
inherited

◆ _actualDateLit

QLabel* Ui_opportunity::_actualDateLit
inherited

◆ _amount

CurrCluster* Ui_opportunity::_amount
inherited

◆ _amountLit

QLabel* Ui_opportunity::_amountLit
inherited

◆ _assignDate

DLineEdit* Ui_opportunity::_assignDate
inherited

◆ _assignDateLit

QLabel* Ui_opportunity::_assignDateLit
inherited

◆ _assignedTo

UsernameCluster* Ui_opportunity::_assignedTo
inherited

◆ _assignedToLit

QLabel* Ui_opportunity::_assignedToLit
inherited

◆ _attachSale

QPushButton* Ui_opportunity::_attachSale
inherited

◆ _buttonBox

QDialogButtonBox* Ui_opportunity::_buttonBox
inherited

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _charass

CharacteristicsWidget* Ui_opportunity::_charass
inherited

◆ _cntct

ContactCluster* Ui_opportunity::_cntct
inherited

◆ _cntctGroup

QGroupBox* Ui_opportunity::_cntctGroup
inherited

◆ _comments

Comments* Ui_opportunity::_comments
inherited

◆ _convertQuote

QPushButton* Ui_opportunity::_convertQuote
inherited

◆ _crmAccountGroup

QGroupBox* Ui_opportunity::_crmAccountGroup
inherited

◆ _crmacct

CRMAcctCluster* Ui_opportunity::_crmacct
inherited

◆ _crmacctLit

QLabel* Ui_opportunity::_crmacctLit
inherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _deleteSale

QPushButton* Ui_opportunity::_deleteSale
inherited

◆ _documents

Documents* Ui_opportunity::_documents
inherited

◆ _documentsTab

QWidget* Ui_opportunity::_documentsTab
inherited

◆ _editSale

QPushButton* Ui_opportunity::_editSale
inherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _listGroup

QGroupBox* Ui_opportunity::_listGroup
inherited

◆ _name

QLineEdit* Ui_opportunity::_name
inherited

◆ _nameLit

QLabel* Ui_opportunity::_nameLit
inherited

◆ _newSale

QPushButton* Ui_opportunity::_newSale
inherited

◆ _notes

XTextEdit* Ui_opportunity::_notes
inherited

◆ _number

QLabel* Ui_opportunity::_number
inherited

◆ _numberLit

QLabel* Ui_opportunity::_numberLit
inherited

◆ _oppsource

XComboBox* Ui_opportunity::_oppsource
inherited

◆ _oppsourceLit

QLabel* Ui_opportunity::_oppsourceLit
inherited

◆ _oppstage

XComboBox* Ui_opportunity::_oppstage
inherited

◆ _oppstageLit

QLabel* Ui_opportunity::_oppstageLit
inherited

◆ _opptype

XComboBox* Ui_opportunity::_opptype
inherited

◆ _opptypeLit

QLabel* Ui_opportunity::_opptypeLit
inherited

◆ _owner

UsernameCluster* Ui_opportunity::_owner
inherited

◆ _ownerLit

QLabel* Ui_opportunity::_ownerLit
inherited

◆ _prcntLit

QLabel* Ui_opportunity::_prcntLit
inherited

◆ _printSale

QPushButton* Ui_opportunity::_printSale
inherited

◆ _priority

XComboBox* Ui_opportunity::_priority
inherited

◆ _priorityLit

QLabel* Ui_opportunity::_priorityLit
inherited

◆ _probability

XLineEdit* Ui_opportunity::_probability
inherited

◆ _probabilityLit

QLabel* Ui_opportunity::_probabilityLit
inherited

◆ _project

ProjectCluster* Ui_opportunity::_project
inherited

◆ _projectLit

XLabel* Ui_opportunity::_projectLit
inherited

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _salesList

XTreeWidget* Ui_opportunity::_salesList
inherited

◆ _salesTab

QWidget* Ui_opportunity::_salesTab
inherited

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

◆ _showMe

QAction* ScriptablePrivate::_showMe
inherited

◆ _shown

bool ScriptablePrivate::_shown
inherited

◆ _startDate

DLineEdit* Ui_opportunity::_startDate
inherited

◆ _startDateLit

XLabel* Ui_opportunity::_startDateLit
inherited

◆ _statsGroup

QGroupBox* Ui_opportunity::_statsGroup
inherited

◆ _tab

QTabWidget* Ui_opportunity::_tab
inherited

◆ _targetDate

DLineEdit* Ui_opportunity::_targetDate
inherited

◆ _targetDateLit

QLabel* Ui_opportunity::_targetDateLit
inherited

◆ _taskList

taskList* opportunity::_taskList
protected

◆ _taskListTab

QWidget* Ui_opportunity::_taskListTab
inherited

◆ _viewSale

QPushButton* Ui_opportunity::_viewSale
inherited

◆ charass

QWidget* Ui_opportunity::charass
inherited

◆ comment

QWidget* Ui_opportunity::comment
inherited

◆ gridLayout

QGridLayout* Ui_opportunity::gridLayout
inherited

◆ gridLayout_2

QGridLayout* Ui_opportunity::gridLayout_2
inherited

◆ gridLayout_3

QGridLayout* Ui_opportunity::gridLayout_3
inherited

◆ gridLayout_4

QGridLayout* Ui_opportunity::gridLayout_4
inherited

◆ gridLayout_5

QGridLayout* Ui_opportunity::gridLayout_5
inherited

◆ gridLayout_6

QGridLayout* Ui_opportunity::gridLayout_6
inherited

◆ gridLayout_8

QGridLayout* Ui_opportunity::gridLayout_8
inherited

◆ gridLayout_9

QGridLayout* Ui_opportunity::gridLayout_9
inherited

◆ gridLayout_task

QGridLayout* Ui_opportunity::gridLayout_task
inherited

◆ hboxLayout

QHBoxLayout* Ui_opportunity::hboxLayout
inherited

◆ hboxLayout1

QHBoxLayout* Ui_opportunity::hboxLayout1
inherited

◆ horizontalLayout

QHBoxLayout* Ui_opportunity::horizontalLayout
inherited

◆ horizontalLayout_2

QHBoxLayout* Ui_opportunity::horizontalLayout_2
inherited

◆ horizontalLayout_3

QHBoxLayout* Ui_opportunity::horizontalLayout_3
inherited

◆ notes

QWidget* Ui_opportunity::notes
inherited

◆ spacerItem

QSpacerItem* Ui_opportunity::spacerItem
inherited

◆ tab

QWidget* Ui_opportunity::tab
inherited

◆ vboxLayout

QVBoxLayout* Ui_opportunity::vboxLayout
inherited

◆ vboxLayout1

QVBoxLayout* Ui_opportunity::vboxLayout1
inherited

◆ verticalSpacer

QSpacerItem* Ui_opportunity::verticalSpacer
inherited

◆ verticalSpacer_2

QSpacerItem* Ui_opportunity::verticalSpacer_2
inherited

◆ verticalSpacer_3

QSpacerItem* Ui_opportunity::verticalSpacer_3
inherited

◆ verticalSpacer_4

QSpacerItem* Ui_opportunity::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.0.0 doxygen 1.8.17