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 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 void sSave ()
 
virtual void sViewQuote ()
 

Signals

void newId (int)
 
void populated ()
 
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
 
QPushButton * _close
 
ContactCluster_contact
 
QWidget_contactTab
 
QPushButton * _crmacct
 
QPushButton * _deleteQuote
 
QPushButton * _editQuote
 
QLineEdit_name
 
QLabel_nameLit
 
QPushButton * _newQuote
 
XTextEdit_notes
 
QWidget_notesTab
 
XLineEdit_number
 
QLabel_numberLit
 
QPushButton * _printQuote
 
XTreeWidget_quotes
 
QWidget_quotesTab
 
XComboBox_salesrep
 
QPushButton * _save
 
WComboBox_site
 
QLabel_siteLit
 
QTabWidget * _tabs
 
XComboBox_taxzone
 
QLabel_taxzoneLit
 
QPushButton * _viewQuote
 
QGridLayout * gridLayout
 
QGridLayout * gridLayout_2
 
QGridLayout * gridLayout_3
 
QGroupBoxgroupBox_2
 
QHBoxLayout * hboxLayout
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * horizontalLayout
 
QSpacerItem * horizontalSpacer
 
QSpacerItem * horizontalSpacer_2
 
QLabellabel
 
QSpacerItem * spacerItem
 
QSpacerItem * spacerItem1
 
QSpacerItem * spacerItem2
 
QVBoxLayout * vboxLayout
 
QVBoxLayout * vboxLayout1
 
QVBoxLayout * vboxLayout2
 
QVBoxLayout * verticalLayout
 
QSpacerItem * verticalSpacer
 
QSpacerItem * verticalSpacer_3
 

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

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

◆ 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

◆ 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

void prospect::sSave ( )
virtualslot

◆ sViewQuote

void prospect::sViewQuote ( )
virtualslot

Member Data Documentation

◆ _active

QCheckBox* Ui_prospect::_active
inherited

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _close

QPushButton* Ui_prospect::_close
inherited

◆ _contact

ContactCluster* Ui_prospect::_contact
inherited

◆ _contactTab

QWidget* Ui_prospect::_contactTab
inherited

◆ _crmacct

QPushButton* Ui_prospect::_crmacct
inherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _deleteQuote

QPushButton* Ui_prospect::_deleteQuote
inherited

◆ _editQuote

QPushButton* Ui_prospect::_editQuote
inherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
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

◆ _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

◆ _tabs

QTabWidget* Ui_prospect::_tabs
inherited

◆ _taxzone

XComboBox* Ui_prospect::_taxzone
inherited

◆ _taxzoneLit

QLabel* Ui_prospect::_taxzoneLit
inherited

◆ _viewQuote

QPushButton* Ui_prospect::_viewQuote
inherited

◆ gridLayout

QGridLayout* Ui_prospect::gridLayout
inherited

◆ gridLayout_2

QGridLayout* Ui_prospect::gridLayout_2
inherited

◆ gridLayout_3

QGridLayout* Ui_prospect::gridLayout_3
inherited

◆ groupBox_2

QGroupBox* Ui_prospect::groupBox_2
inherited

◆ hboxLayout

QHBoxLayout* Ui_prospect::hboxLayout
inherited

◆ hboxLayout1

QHBoxLayout* Ui_prospect::hboxLayout1
inherited

◆ horizontalLayout

QHBoxLayout* Ui_prospect::horizontalLayout
inherited

◆ horizontalSpacer

QSpacerItem* Ui_prospect::horizontalSpacer
inherited

◆ horizontalSpacer_2

QSpacerItem* Ui_prospect::horizontalSpacer_2
inherited

◆ label

QLabel* Ui_prospect::label
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

◆ verticalSpacer

QSpacerItem* Ui_prospect::verticalSpacer
inherited

◆ verticalSpacer_3

QSpacerItem* Ui_prospect::verticalSpacer_3
inherited

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

Generated on Mon May 3 2021 xTuple ERP Programmer Reference, Version 4.12.0 doxygen 1.8.17