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

#include <prospect.h>

Inheritance diagram for prospect:
XWidget Ui::prospect QWidget ScriptablePrivate Ui_prospect ScriptableWidget

Public Slots

virtual void sAddContact ()
 
virtual void sCheckNumber ()
 
virtual void sDeleteQuote ()
 
virtual void sEditQuote ()
 
virtual SetResponse set (const ParameterList &pParams)
 
virtual void setViewMode ()
 
virtual void setVisible (bool)
 
virtual void sFillQuotesList ()
 
virtual void sNewQuote ()
 
virtual bool sPopulate ()
 
virtual void sPopulateQuotesMenu (QMenu *menuThis)
 
virtual void sPrintQuote ()
 
virtual bool sSave (bool pPartial)
 
virtual void sSaveClicked ()
 
virtual void sSetCrmAccountId ()
 
virtual void sViewQuote ()
 

Signals

void newId (int)
 
void populated ()
 
virtual void saveAfterCommit ()
 
virtual void saveBeforeBegin ()
 
void saved (int)
 

Public Member Functions

 prospect (QWidget *parent=0, const char *name=0, Qt::WindowFlags fl=Qt::Window)
 
 ~prospect ()
 
virtual Q_INVOKABLE ParameterList get () const
 
virtual Q_INVOKABLE int id () const
 
virtual Q_INVOKABLE int mode () const
 
void retranslateUi (QWidget *prospect)
 
void setupUi (QWidget *prospect)
 

Public Attributes

QCheckBox_active
 
DLineEdit_assigned
 
XLabel_assignedLit
 
UsernameLineEdit_assignedTo
 
XLabel_assignedToLit
 
CharacteristicsWidget_charass
 
QPushButton * _close
 
QPushButton * _cntctAdd
 
QCheckBox_cntctDefault
 
XComboBox_cntctRole
 
XLabel_cntctRoleLit
 
Comments_comments
 
ContactCluster_contact
 
QGroupBox_contactGroupBox
 
QHBoxLayout * _contactsPlaceholder
 
QWidget_contactTab
 
DLineEdit_created
 
XLabel_createdLit
 
QPushButton * _crmacct
 
XComboBox_currency
 
XLabel_currencyLit
 
QPushButton * _deleteQuote
 
Documents_documents
 
QPushButton * _editQuote
 
DLineEdit_lastTouch
 
XLabel_lastTouchLit
 
QGroupBox_mainGroup
 
QLineEdit_name
 
QLabel_nameLit
 
QPushButton * _newQuote
 
XTextEdit_notes
 
QWidget_notesTab
 
XLineEdit_number
 
QLabel_numberLit
 
UsernameLineEdit_owner
 
QPushButton * _printQuote
 
XTreeWidget_quotes
 
QWidget_quotesTab
 
XComboBox_salesrep
 
QPushButton * _save
 
WComboBox_site
 
QLabel_siteLit
 
XComboBox_source
 
XLabel_sourceLit
 
QTabWidget * _tabs
 
QWidget_taskListTab
 
XComboBox_taxzone
 
QLabel_taxzoneLit
 
DLineEdit_updated
 
XLabel_updatedLit
 
QPushButton * _viewQuote
 
QWidgetactivityTab
 
QWidgetcharsTab
 
QWidgetdocsTab
 
QGridLayout * gridLayout_2
 
QGridLayout * gridLayout_3
 
QGridLayout * gridLayout_task
 
QHBoxLayout * hboxLayout
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * horizontalLayout
 
QHBoxLayout * horizontalLayout_2
 
QHBoxLayout * horizontalLayout_3
 
QSpacerItem * horizontalSpacer_2
 
QLabellabel
 
XLabelownerLit
 
QSpacerItem * spacerItem
 
QSpacerItem * spacerItem1
 
QSpacerItem * spacerItem2
 
QVBoxLayout * vboxLayout
 
QVBoxLayout * vboxLayout1
 
QVBoxLayout * vboxLayout2
 
QVBoxLayout * verticalLayout
 
QVBoxLayout * verticalLayout1
 
QVBoxLayout * verticalLayout_2
 
QVBoxLayout * verticalLayout_21
 
QVBoxLayout * verticalLayout_4
 
QVBoxLayout * verticalLayout_5
 
QSpacerItem * verticalSpacer
 
QSpacerItem * verticalSpacer_2
 
QSpacerItem * verticalSpacer_3
 
QSpacerItem * verticalSpacer_4
 
XLabelxlabel
 

Protected Slots

virtual void languageChange ()
 
virtual enum SetResponse postSet ()
 
virtual void sCrmAccount ()
 

Protected Member Functions

virtual void callCloseEvent (QEvent *)
 
virtual enum SetResponse callSet (const ParameterList &)
 
virtual void callShowEvent (QEvent *)
 
virtual void closeEvent (QCloseEvent *)
 
virtual QScriptEngine * engine ()
 
virtual void loadScript (const QString &oName)
 
virtual void loadScript (const QStringList &list)
 
virtual void loadScriptEngine ()
 
virtual Q_INVOKABLE bool setScriptableParams (ParameterList &)
 
void showEvent (QShowEvent *event)
 

Protected Attributes

QPushButton * _add
 
contacts_contacts
 
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

◆ prospect()

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

◆ ~prospect()

prospect::~prospect ( )

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 prospect::closeEvent ( QCloseEvent *  pEvent)
protectedvirtual

◆ engine()

QScriptEngine * ScriptablePrivate::engine ( )
virtualinherited

Reimplemented from ScriptableWidget.

◆ get()

ParameterList XWidget::get ( ) const
virtualinherited

Implements ScriptablePrivate.

◆ id()

int prospect::id ( ) const
virtual

◆ languageChange

void prospect::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 prospect::mode ( ) const
virtual
Returns
one of cNew, cEdit, cView, ...
Todo:
change possible modes to an enum in guiclient.h (and add cUnknown?)

◆ newId

void prospect::newId ( int  )
signal

◆ populated

void prospect::populated ( )
signal

◆ postSet

enum SetResponse XWidget::postSet ( )
protectedvirtualslotinherited

◆ retranslateUi()

void Ui_prospect::retranslateUi ( QWidget prospect)
inlineinherited

◆ sAddContact

void prospect::sAddContact ( )
virtualslot

◆ saveAfterCommit

virtual void prospect::saveAfterCommit ( )
virtualsignal

◆ saveBeforeBegin

virtual void prospect::saveBeforeBegin ( )
virtualsignal

◆ saved

void prospect::saved ( int  )
signal

◆ sCheckNumber

void prospect::sCheckNumber ( )
virtualslot

◆ sCrmAccount

void prospect::sCrmAccount ( )
protectedvirtualslot

◆ sDeleteQuote

void prospect::sDeleteQuote ( )
virtualslot

◆ sEditQuote

void prospect::sEditQuote ( )
virtualslot

◆ set

enum SetResponse prospect::set ( const ParameterList &  pParams)
virtualslot

◆ setScriptableParams()

bool ScriptableWidget::setScriptableParams ( ParameterList &  params)
virtualinherited

◆ setupUi()

void Ui_prospect::setupUi ( QWidget prospect)
inlineinherited

◆ setViewMode

void prospect::setViewMode ( )
virtualslot

◆ setVisible

void prospect::setVisible ( bool  visible)
virtualslot

◆ sFillQuotesList

void prospect::sFillQuotesList ( )
virtualslot

◆ showEvent()

void XWidget::showEvent ( QShowEvent *  event)
protectedinherited

◆ sNewQuote

void prospect::sNewQuote ( )
virtualslot

◆ sPopulate

bool prospect::sPopulate ( )
virtualslot

◆ sPopulateQuotesMenu

void prospect::sPopulateQuotesMenu ( QMenu *  menuThis)
virtualslot

◆ sPrintQuote

void prospect::sPrintQuote ( )
virtualslot

◆ sSave

bool prospect::sSave ( bool  pPartial)
virtualslot

◆ sSaveClicked

void prospect::sSaveClicked ( )
virtualslot

◆ sSetCrmAccountId

void prospect::sSetCrmAccountId ( )
virtualslot

◆ sViewQuote

void prospect::sViewQuote ( )
virtualslot

Member Data Documentation

◆ _active

QCheckBox* Ui_prospect::_active
inherited

◆ _add

QPushButton* prospect::_add
protected

◆ _assigned

DLineEdit* Ui_prospect::_assigned
inherited

◆ _assignedLit

XLabel* Ui_prospect::_assignedLit
inherited

◆ _assignedTo

UsernameLineEdit* Ui_prospect::_assignedTo
inherited

◆ _assignedToLit

XLabel* Ui_prospect::_assignedToLit
inherited

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _charass

CharacteristicsWidget* Ui_prospect::_charass
inherited

◆ _close

QPushButton* Ui_prospect::_close
inherited

◆ _cntctAdd

QPushButton* Ui_prospect::_cntctAdd
inherited

◆ _cntctDefault

QCheckBox* Ui_prospect::_cntctDefault
inherited

◆ _cntctRole

XComboBox* Ui_prospect::_cntctRole
inherited

◆ _cntctRoleLit

XLabel* Ui_prospect::_cntctRoleLit
inherited

◆ _comments

Comments* Ui_prospect::_comments
inherited

◆ _contact

ContactCluster* Ui_prospect::_contact
inherited

◆ _contactGroupBox

QGroupBox* Ui_prospect::_contactGroupBox
inherited

◆ _contacts

contacts* prospect::_contacts
protected

◆ _contactsPlaceholder

QHBoxLayout* Ui_prospect::_contactsPlaceholder
inherited

◆ _contactTab

QWidget* Ui_prospect::_contactTab
inherited

◆ _created

DLineEdit* Ui_prospect::_created
inherited

◆ _createdLit

XLabel* Ui_prospect::_createdLit
inherited

◆ _crmacct

QPushButton* Ui_prospect::_crmacct
inherited

◆ _currency

XComboBox* Ui_prospect::_currency
inherited

◆ _currencyLit

XLabel* Ui_prospect::_currencyLit
inherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _deleteQuote

QPushButton* Ui_prospect::_deleteQuote
inherited

◆ _documents

Documents* Ui_prospect::_documents
inherited

◆ _editQuote

QPushButton* Ui_prospect::_editQuote
inherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _lastTouch

DLineEdit* Ui_prospect::_lastTouch
inherited

◆ _lastTouchLit

XLabel* Ui_prospect::_lastTouchLit
inherited

◆ _mainGroup

QGroupBox* Ui_prospect::_mainGroup
inherited

◆ _name

QLineEdit* Ui_prospect::_name
inherited

◆ _nameLit

QLabel* Ui_prospect::_nameLit
inherited

◆ _newQuote

QPushButton* Ui_prospect::_newQuote
inherited

◆ _notes

XTextEdit* Ui_prospect::_notes
inherited

◆ _notesTab

QWidget* Ui_prospect::_notesTab
inherited

◆ _number

XLineEdit* Ui_prospect::_number
inherited

◆ _numberLit

QLabel* Ui_prospect::_numberLit
inherited

◆ _owner

UsernameLineEdit* Ui_prospect::_owner
inherited

◆ _printQuote

QPushButton* Ui_prospect::_printQuote
inherited

◆ _quotes

XTreeWidget* Ui_prospect::_quotes
inherited

◆ _quotesTab

QWidget* Ui_prospect::_quotesTab
inherited

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _salesrep

XComboBox* Ui_prospect::_salesrep
inherited

◆ _save

QPushButton* Ui_prospect::_save
inherited

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

◆ _showMe

QAction* ScriptablePrivate::_showMe
inherited

◆ _shown

bool ScriptablePrivate::_shown
inherited

◆ _site

WComboBox* Ui_prospect::_site
inherited

◆ _siteLit

QLabel* Ui_prospect::_siteLit
inherited

◆ _source

XComboBox* Ui_prospect::_source
inherited

◆ _sourceLit

XLabel* Ui_prospect::_sourceLit
inherited

◆ _tabs

QTabWidget* Ui_prospect::_tabs
inherited

◆ _taskList

taskList* prospect::_taskList
protected

◆ _taskListTab

QWidget* Ui_prospect::_taskListTab
inherited

◆ _taxzone

XComboBox* Ui_prospect::_taxzone
inherited

◆ _taxzoneLit

QLabel* Ui_prospect::_taxzoneLit
inherited

◆ _updated

DLineEdit* Ui_prospect::_updated
inherited

◆ _updatedLit

XLabel* Ui_prospect::_updatedLit
inherited

◆ _viewQuote

QPushButton* Ui_prospect::_viewQuote
inherited

◆ activityTab

QWidget* Ui_prospect::activityTab
inherited

◆ charsTab

QWidget* Ui_prospect::charsTab
inherited

◆ docsTab

QWidget* Ui_prospect::docsTab
inherited

◆ gridLayout_2

QGridLayout* Ui_prospect::gridLayout_2
inherited

◆ gridLayout_3

QGridLayout* Ui_prospect::gridLayout_3
inherited

◆ gridLayout_task

QGridLayout* Ui_prospect::gridLayout_task
inherited

◆ hboxLayout

QHBoxLayout* Ui_prospect::hboxLayout
inherited

◆ hboxLayout1

QHBoxLayout* Ui_prospect::hboxLayout1
inherited

◆ horizontalLayout

QHBoxLayout* Ui_prospect::horizontalLayout
inherited

◆ horizontalLayout_2

QHBoxLayout* Ui_prospect::horizontalLayout_2
inherited

◆ horizontalLayout_3

QHBoxLayout* Ui_prospect::horizontalLayout_3
inherited

◆ horizontalSpacer_2

QSpacerItem* Ui_prospect::horizontalSpacer_2
inherited

◆ label

QLabel* Ui_prospect::label
inherited

◆ ownerLit

XLabel* Ui_prospect::ownerLit
inherited

◆ spacerItem

QSpacerItem* Ui_prospect::spacerItem
inherited

◆ spacerItem1

QSpacerItem* Ui_prospect::spacerItem1
inherited

◆ spacerItem2

QSpacerItem* Ui_prospect::spacerItem2
inherited

◆ vboxLayout

QVBoxLayout* Ui_prospect::vboxLayout
inherited

◆ vboxLayout1

QVBoxLayout* Ui_prospect::vboxLayout1
inherited

◆ vboxLayout2

QVBoxLayout* Ui_prospect::vboxLayout2
inherited

◆ verticalLayout

QVBoxLayout* Ui_prospect::verticalLayout
inherited

◆ verticalLayout1

QVBoxLayout* Ui_prospect::verticalLayout1
inherited

◆ verticalLayout_2

QVBoxLayout* Ui_prospect::verticalLayout_2
inherited

◆ verticalLayout_21

QVBoxLayout* Ui_prospect::verticalLayout_21
inherited

◆ verticalLayout_4

QVBoxLayout* Ui_prospect::verticalLayout_4
inherited

◆ verticalLayout_5

QVBoxLayout* Ui_prospect::verticalLayout_5
inherited

◆ verticalSpacer

QSpacerItem* Ui_prospect::verticalSpacer
inherited

◆ verticalSpacer_2

QSpacerItem* Ui_prospect::verticalSpacer_2
inherited

◆ verticalSpacer_3

QSpacerItem* Ui_prospect::verticalSpacer_3
inherited

◆ verticalSpacer_4

QSpacerItem* Ui_prospect::verticalSpacer_4
inherited

◆ xlabel

XLabel* Ui_prospect::xlabel
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